Answer the question
In order to leave comments, you need to log in
Is it possible to take a program out of a Docker container?
Docker allows you to link containers between themselves and the host, as well as take out files and directories. If we have a container with SSH and we need, let's say a compass or other software that we want to run inside the container with SSH, then we need to put it in the container. Will the script work if we move it to /usr/bin/compass in our container? Sockets can be linked in this way, but will such a feint work with scripts?
UPD: The crux of the matter is that you want to have 2 containers, in the first SSH in the second ruby / Java / ... and from the container with SSH run the scripts of the second container
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question