redhat:docker-redhat:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
redhat:docker-redhat:start [2019/02/05 17:03] – [Installation Docker Environment] michaelredhat:docker-redhat:start [2019/12/23 21:52] (current) – [Installation von Docker und Docker-Compose] michael
Line 1: Line 1:
-====== Docker auf RHEL / CentOS 7 ======+====== Docker auf RHEL / CentOS 7/8 ======
 **In this 3-article series, we will discuss about Docker**, is an ''open-source lightweight virtualization tool'' which runs at top of Operating System level, allowing users to create, run and deploy applications, encapsulated into small containers. **In this 3-article series, we will discuss about Docker**, is an ''open-source lightweight virtualization tool'' which runs at top of Operating System level, allowing users to create, run and deploy applications, encapsulated into small containers.
  
Line 5: Line 5:
 {{:redhat:docker-redhat:docker-generic-banner.jpg?nolink&500|}} {{:redhat:docker-redhat:docker-generic-banner.jpg?nolink&500|}}
  
----- 
  
 ===== Installation von Docker und Docker-Compose ===== ===== Installation von Docker und Docker-Compose =====
Line 15: Line 14:
 # yum update # yum update
  
-# yum install docker-ce docker-ce-cli containerd.io+# yum install docker-ce docker-ce-cli --nobest -y
  
-systemctl start docker && systemctl enable docker+# systemctl enable docker --now
 </code> </code>
  
 ''**Step 2** - Install docker-compose binary:'' <code># newest_version="$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*?(?=")')" ''**Step 2** - Install docker-compose binary:'' <code># newest_version="$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*?(?=")')"
  
-# curl -L "https://github.com/docker/compose/releases/download/${newest_version}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose +# curl -L "https://github.com/docker/compose/releases/download/${newest_version}/docker-compose-$(uname -s)-$(uname -m)" -o /bin/docker-compose 
-# chmod +x /usr/local/bin/docker-compose+# chmod +x /bin/docker-compose
  
 # curl -L https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose # curl -L https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose
  • redhat/docker-redhat/start.1549382584.txt.gz
  • Last modified: 2019/02/05 17:03
  • by michael