T
T
theCPU2019-10-28 15:50:43
Docker
theCPU, 2019-10-28 15:50:43

Docker - how to execute a command in a process running in a container?

I start the container like this: How do I execute a command into a process (java -jar q.jar) like list? One option I found is the fifo file approach, but with exec the error is the same as without fifo. Out of memory error docker run -it debian bash -c "java -jar q.jar"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question