Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Docker
Docker is installed on both servers and each have an image called odm89. Please follow these
commands to reinstall docker and images and for starting and stopping the server. Use the
following instructions to build an ODM image for docker. (image is already built and installed on the
server)
Docker Installation
Follow these commands to install:
[ec2-user@ip-172-31-25-48 /]$ sudo su
[root@ip-172-31-25-48 /]# sudo yum install yum-utils
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
Package yum-utils-1.1.31-42.el7.noarch already installed and latest version
Nothing to do
[root@ip-172-31-25-48 /]# sudo yum-config-manager --enable rhui-REGION-rhel-server-extras
Docker can build images automatically by reading the instructions from a Dockerfile, a text file
that contains all the commands, in order, needed to build a given image. Dockerfiles adhere to
a specific format and use a specific set of instructions.
Check the list of all docker images present in the server [Optional]:
docker images -a