I am running the Community Edition of OnlyOffice and recently tried to attach to the running container of the Community Server using the (tried and true) command:
Code: Select all
sudo docker attach {CONTAINER_ID}
Code: Select all
sudo docker exec -it {CONTAINER_ID} bash
It's been a few years now and I have never had to resort to 'sudo docker exec' to connect to a container. Does anyone know if 'sudo docker attach' still works? Is one command preferred over the other?
I am running:
Docker version 17.05.0-ce, build 89658be
Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-96-generic x86_64)
onlyoffice/documentserver:4.4.3.7
onlyoffice/communityserver:9.1.0.418
Thanks very much for your feedback.