💻
Dev Notes
  • Dev notes
  • Back end
  • books
  • Front End
  • Platforms in which you can improve your skills
  • Run local Jekyll site
  • Recommended podcasts you should listen to
  • Tools
  • code
    • REST
  • docker
    • Docker cli commands
  • git
    • Changing author info
    • Working with Github organizations
    • Working with upstream
  • npm
    • NPM cli
  • unix
    • Mac OS
    • Raspberry Pi
    • Terminal
Powered by GitBook
On this page

Was this helpful?

  1. docker

Docker cli commands

PreviousdockerNextgit

Last updated 4 years ago

Was this helpful?

#Stop all 
docker stop $(docker ps -a -q)

#Remove all 
docker rm $(docker ps -a -q)

Copy docker images from host to another without using a repistory

# Host
docker save -o <path for generated tar file> <image name>

# Client
docker load -i ~/Downloads/myfile.tar <image name>

Source

https://stackoverflow.com/a/23938978