Open osvso opened 7 years ago
What is the added value of having the SSH server running inside the docker image? The image can be easily accessed by calling docker exec -it ${DOCKER_IMAGE_ID} bash or docker run -it ${DOCKER_IMAGE_ID} /bin/bash
docker exec -it ${DOCKER_IMAGE_ID} bash
docker run -it ${DOCKER_IMAGE_ID} /bin/bash
I'm using container on remote server farm and it was more easier to connect by SSH to machine directly, than connect to host and run commands.
What is the added value of having the SSH server running inside the docker image? The image can be easily accessed by calling
docker exec -it ${DOCKER_IMAGE_ID} bash
ordocker run -it ${DOCKER_IMAGE_ID} /bin/bash