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
docker_installation_on_fedora [2019/01/24 12:09] – [Testing installation] rpjdaydocker_installation_on_fedora [2019/01/24 14:01] (current) – [Installing Docker and Docker Compose] rpjday
Line 2: Line 2:
  
 How to install and test Docker and friends on current Fedora 29. How to install and test Docker and friends on current Fedora 29.
 +
 +Extra:
 +
 +  * ''curl -fsSL get.docker.com -o get-docker.sh''
 +
 ===== Links ===== ===== Links =====
  
Line 92: Line 97:
 </code> </code>
  
 +Should create group ''docker''.
 ===== Docker RPM scripts ===== ===== Docker RPM scripts =====
  
Line 231: Line 237:
 $ docker run hello-world $ docker run hello-world
 ... etc etc ... ... etc etc ...
 +</code>
 +
 +===== Running Ubuntu bash =====
 +
 +<code>
 +$ docker run -it ubuntu bash
 +Unable to find image 'ubuntu:latest' locally
 +latest: Pulling from library/ubuntu
 +38e2e6cd5626: Pull complete 
 +705054bc3f5b: Pull complete 
 +c7051e069564: Pull complete 
 +7308e914506c: Pull complete 
 +Digest: sha256:945039273a7b927869a07b375dc3148de16865de44dec8398672977e050a072e
 +Status: Downloaded newer image for ubuntu:latest
 +root@f7c76c6f0ee4:/# id
 +uid=0(root) gid=0(root) groups=0(root)
 +root@f7c76c6f0ee4:/# 
 +</code>
 +
 +From another session:
 +
 +<code>
 +# docker ps
 +CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
 +f7c76c6f0ee4        ubuntu              "bash"              25 seconds ago      Up 22 seconds                           nifty_spence
 </code> </code>
  • docker_installation_on_fedora.1548331791.txt.gz
  • Last modified: 2019/01/24 12:09
  • by rpjday