Loading tutorials
docker build, as covered in the previous chapter. You should also be comfortable with a Node.js project that has a package.json and a node_modules folder.3 min readdocker build, and know what a build context is. You will learn how Docker builds an image from layers, when it reuses them, and how to order instructions so most rebuilds finish in seconds.3 min readmyapp:1.0 image from the previous chapter's Dockerfile, that Docker is installed, and that you know what an HTTP port is. Here you start a container from that image and make it reachable from your machine.2 min readdocker run publishes a port. You should also know that a process reads environment variables from its parent.2 min readmyapp:1.0 image from the previous chapters. It also assumes you know what a published port is. Here you will learn how to find out what a container is doing and why it fails.2 min readroot. This chapter shows why that is a risk and how to run your Node.js app as an unprivileged user.3 min readdist folder.3 min read-p, and pass environment variables with -e. By the end you will know how containers find each other by name, and why localhost inside a container does not point at your other containers.2 min readdocker run, and read container logs. It also assumes you know that a volume keeps data outside a container's lifetime. T2 min read