Imagine a fresh linux installation. You may want to run a program.A program is a file on a disk. A process is a running instance of that program. Why do we want isolation?Security, Fault containment, Multi-tenancy Step 0: chroot: first steps towards IsolationOne of the oldest isolation tools in Linux is chroot, which changes the…
All posts in docker
Install nginx locally with docker
Step: Download docker desktop Step: install nginx with “pull” and “run” Key problem: where is nginx serving? “80/tcp” Step: forward host machine requests to container “0.0.0.0:80->80/tcp”