User Tools

Site Tools


linux:containers:docker-cheatsheet

Differences

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

Link to this comparison view

linux:containers:docker-cheatsheet [24/12/2024 12:54] – created andrewlinux:containers:docker-cheatsheet [17/02/2025 17:41] (current) andrew
Line 10: Line 10:
 This adds a Repository and tag, note the ''.'' at the end is required, it means look in this directory for the Dockerfile:- This adds a Repository and tag, note the ''.'' at the end is required, it means look in this directory for the Dockerfile:-
  
-  # docker build -t gss/sai:apache2-wsgi .+  # docker build -t unit/abc:apache2-wsgi .
      
   # docker build -t friendlyello --tag=friendlyhello .   # docker build -t friendlyello --tag=friendlyhello .
Line 16: Line 16:
   # docker image ls   # docker image ls
   REPOSITORY                 TAG            IMAGE ID       CREATED          SIZE   REPOSITORY                 TAG            IMAGE ID       CREATED          SIZE
-  gss/sai                    apache2-wsgi   324aaa642a04   10 seconds ago   300MB+  unit/abc                   apache2-wsgi   324aaa642a04   10 seconds ago   300MB
  
  
Line 40: Line 40:
 root@ubuntu20:~# docker image ls root@ubuntu20:~# docker image ls
 REPOSITORY                 TAG            IMAGE ID       CREATED         SIZE REPOSITORY                 TAG            IMAGE ID       CREATED         SIZE
-gss/sai                    apache2-wsgi   324aaa642a04   11 days ago     300MB+uit/abc                    apache2-wsgi   324aaa642a04   11 days ago     300MB
 </code> </code>
  
linux/containers/docker-cheatsheet.1735044841.txt.gz · Last modified: by andrew

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki