How to run a docker command in Nodejs image

  docker, node.js

I wrote a node app, he can build and push docker image, but I hope to run him as a Docker container.

I can use the following method to run the docker command in the container, but this cannot be running the Node App.

docker run -i --rm  --privileged docker:dind sh

Source: Docker Questions

LEAVE A COMMENT