By now, we are considerably familiar with the basic Docker commands. Let's up the ante. For the next couple of commands, I am going to use one of my side projects. Feel free to use a project of your own.
Let's start by listing out our requirements to determine the arguments we must pass to the
docker run command.
Our application is going to run on Node.js, so we will choose the well-maintained
dockerfile/nodejs image to start our base container:
8000, so we will expose the port to
8000of the host.
$ docker run -it --name ...