Reading time: less than 1 minute
Docker is a software system for creating and running containers.
Prune old docker files
Build and run a Dockerfile
docker run -it \
-p 70:70 \
$(docker build -q .)
Container OS / CoreOS randomly kills my containers
You can prevent this by writing SystemD service files that restarts your containers when they die. In this scenario, SystemD acts as a watchdog. You can also observe the container states and logs via SystemD if you do this.
If you find this work useful, please cite it as:
title = "Docker",
author = "Yaltirakli, Gokberk",
journal = "gkbrk.com",
year = "2022",
url = "https://www.gkbrk.com/wiki/Docker/"
Not using BibTeX? Click here for more citation styles.
Gokberk Yaltirakli, "Docker", May, 2022. [Online]. Available: https://www.gkbrk.com/wiki/Docker/. [Accessed May. 18, 2022].
Yaltirakli, G. (2022, May 18). Docker. https://www.gkbrk.com/wiki/Docker/
Gokberk Yaltirakli, Docker, GKBRK.COM (May. 18, 2022), https://www.gkbrk.com/wiki/Docker/