Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
computer_science:docker:docker_cheatsheet [2023/12/11 21:28] carlossousacomputer_science:docker:docker_cheatsheet [2023/12/11 21:29] carlossousa
Line 15: Line 15:
  
  
-</code>       |To be run from the directory where "dockerfile" lives. Will greate an Image with the tag provided.  Eg.: docker build –tag tornscrapper:0.1 +</code>       |To be run from the directory where "dockerfile" lives. Will greate an Image with the tag provided. Eg.: docker build –tag tornscrapper:0.1 
-|<code>''docker images -a | grep none | awk '{ print $3; }' | xargs docker rmi''+|<code> 
 +docker images -a | grep none | awk '{ print $3; }' | xargs docker rmi
  
-</code>   and / or \\+</code>  and / or \\
 <code> <code>
-''docker image prune --filter="dangling=true"'' 
  
-</code>   |Delete dangling images and / or images that have a "none" tag.|+docker image prune --filter="dangling=true" 
 + 
 +</code>  |Delete dangling images and / or images that have a "none" tag.|
  
  
  • computer_science/docker/docker_cheatsheet.txt
  • Last modified: 2023/12/11 21:30
  • by carlossousa