Hello everyone, you can download Docker for Ubuntu but before you do that, my day has been crazy to say the least, we had a massive power outage here yesterday, we had no lights in the whole town, it was annoying to say the least. Today, the lights are back but the stupid energy company that supplies lights here apparently hasn’t fully fixed the problem. At this rate I really might have to move permanently to another country, I have a few in mind, lol anyway, please read on…
Today we will highlight one of the best and most useful apps for Ubuntu and Linux administrators. I am talking about Docker. Heard of it? Probably but at the time you probably had no idea what it is or why you see it pop up on some web sites here and there. Okay, maybe that is just my experience but while at work, a co-worker recommended upgrade our network and he recommended Docker. I was like, wtf is Docker? Let’s find out.
Table of Contents
Install Docker on Ubuntu as Snap App
Manually How to Install Docker on Ubuntu
- Log into your Ubuntu installation as a user with sudo privileges.
- Update your APT package index.
$ sudo apt-get update
- Install Docker.
$ sudo apt-get install docker-engine
- Start the docker daemon.
$ sudo service docker start
- Verify docker is installed correctly.
$ sudo docker run hello-world
This command downloads a test image and runs it in a container. When the container runs, it prints an informational message. Then, it exits.
What Is Docker?
Docker is an app that makes it simple and easy to run application processes in a container, which are like virtual machines, only more portable, more lightweight which means they are naturally resource friendly, and more dependent on the host operating system. Docker provides an open platform for developers and sysadmins to build, package, and run applications anywhere as a lightweight Docker container. Docker automates the deployment of applications inside software containers.
Docker Linux Features:
- Containerization: Docker allows you to package your applications and their dependencies into lightweight, portable containers that can run on any Linux machine, regardless of the underlying infrastructure. This makes it easy to develop, test, and deploy applications without worrying about differences in the environment.
- Resource isolation: Docker provides a high level of resource isolation between containers, so that one container cannot impact the performance or stability of other containers or the host system. This means that you can run multiple applications on the same machine without having to worry about conflicts or resource contention.
- Image management: Docker allows you to create and manage images, which are essentially templates for containers. You can use images to quickly and easily create new containers, and you can also share images with others, making it easy to collaborate on projects.
- Network management: Docker provides a flexible and powerful networking model that allows you to create and manage virtual networks for your containers. You can use these networks to connect containers together, or to connect containers to the host system or external networks.
- Scalability: Docker makes it easy to scale your applications up or down, depending on demand. You can use Docker to quickly spin up new instances of your application when traffic increases, and then shut them down when traffic decreases. This can help you save money on infrastructure costs, while ensuring that your application can handle spikes in traffic.
Docker Container Screenshots