Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
You are probably familiar with virtual machines, a virtual machine is an operating system running on top of an operating system. The virtualized OS could them be running some kind of application seperate from your machine OS such as a web server.
It is huge waste of resources to run an entire OS for a single application or group of applications. It is slow, it takes up huge amounts of processing time and memory, it also takes several minutes to restart if it ever crashes.
Docker runs containers, a container is a bundle of software.
The average Docker container is very crudely build, it contains an entire operating system such as Debian GNU/Linux or Alpine Linux, an entire OS minus hardware related binaries such as the kernel and firmware. Then inside of this container you will have your software installed, such as the Apache web server.
Here is an example of me starting an Ubuntu container, I specifically requested podman to run the container in interactive mode which I can use to run programs inside of the containers and gave it the location of the bash shell I want to use. Podman is almost the same thing as Docker both in usage and capabilities.
Docker solves the issue VMs have which is the high processing and memory usage, the Docker daemon only runs the software and not a full operating system. The Docker daemon makes use of your actual on-real-hardware operating system.
When you want to run a container Docker will by default download it from dockerhub. here I am pulling an Apache webserver container from Dockerhub. I specified some ports so I can access the webserver running inside of it. And it told it to automatically delete itself once it stops running.
Docker is a very broad subject. You can do a lot with docker, automated testing, development, hosting etc.. since it's so quick and easy to replace a container with a new one.
The whole NAS only uses less than 20% of its 2GB RAM in total.
CPU is literally idling.
Depends on what is run in that container though.
Would be very different if i'd install a Minecraft server container.
Sounds really cool dockers!
Yes, you can.
It does require WSL2 though.
Can you trust a docker easily from a official source ?
On Dockerhub images are distributed by both the organisations behind the software and random people who build their own image.
Some software projects allow you to build a Docker image from the source code using an included Dockerfile, or they might use Docker to make it easier to build the software without having to go dependency hunting.
Here is an example from my Akeneo container build script, these are all the variables which have to be configured whenever the container is started.
Thank You.