Pages

Showing posts with label docker. Show all posts
Showing posts with label docker. Show all posts

Wednesday, November 22, 2017

Fedora 27 : the Docker platform .

The Docker team company tell us:

Docker is the company driving the container movement and the only container platform provider to address every application across the hybrid cloud. Today’s businesses are under pressure to digitally transform but are constrained by existing applications and infrastructure while rationalizing an increasingly diverse portfolio of clouds, datacenters and application architectures. Docker enables true independence between applications and infrastructure and developers and IT ops to unlock their potential and creates a model for better collaboration and innovation.

The Docker platform come many features, so let's see them:
  • use containers; 
  • containers are lightweight;
  • containers are standalone packages;
  • each containers contain everything needed to run an application (code, libraries, runtime, system settings, and dependencies);
  • the biggest difference between a container and a virtual machine: containers is not a full-blown operating system platform;
  • applications are isolated in containers;
  • docker come with: Pricing Plans;
Let's start with the installation and testing of the docker (you need a sudo account):
#sudo dnf install docker
#newgrp docker
#sudo groupadd docker && sudo gpasswd -a ${USER} docker && sudo systemctl restart docker
#sudo usermod -a -G docker $USER
#sudo systemctl start docker
#sudo systemctl enable docker
#sudo systemctl stop docker
#sudo systemctl restart docker

This commands will install docker with dnf tool and will add your user to group docker.
The command with systemctl is used to test the docker services.
You can test the docker by searching and start applications:
#sudo docker search hello-world
#sudo docker run hello-world

The result of the run hello-world is this: