C
C
Coder3212017-01-04 01:27:28
Node.js
Coder321, 2017-01-04 01:27:28

How to run two nodes in one docker container?

I have a script that launches docker with a node

echo "* Run the new container *"
ssh -i "test-docker.pem" [email protected] 'docker run -d --name docker-backend -e="NODE_ENV=development" -p 3000:3000 esign/docker-backend:current'

I am zero in docker, and I need to start another instance with another mail, how can I do this?

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