InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Docker tutorials

  • Docker quick start guide on Mac
  • Docker quick start guide on Ubuntu
  • Docker how to add a user to group docker on Linux
  • Docker container - handy commands
  • How to get docker container IP
  • Run nginx in docker container
  • Ubuntu docker - storage driver aufs not supported error
  • How to find docker host ip on Mac
  • Docker - how to rerun a container with different flags
  • Docker managing images - command line cheat sheet
  • Install nginx and php in docker ubuntu container
 
  • Home
  • > Tutorials
  • > Docker

Docker managing images – command line cheat sheet

on Feb 13, 2016

Docker images are needed to create and run a container. These are be pulled from remote docker repository or can also be created locally. Here are some handy commands to work with images.

  1. Pull latest image of ubuntu or any other image

    $ docker pull ubuntu
    
  2. Pull tagged image of ubuntu (tag wiley) or any other image

    $ docker pull ubuntu:wiley
    
  3. Pull all tags of ubuntu image

    $ docker pull --all-tags ubuntu
    
  4. List docker images

    $ docker images
    
  5. Commit a container to an image

    $ docker commit [container_id_or_name] image_id
    
  6. Delete an image

    $ docker rmi [images_id]
    

Suggested posts:

  1. Docker how to add a user to group docker on Linux
  2. How to use wildcard in robots.txt
  3. node – how to find source file location of a module
  4. LXC (Linux Containers) – quick start tutorial on Ubuntu
  5. Docker container – handy commands
  6. Internal vs external css
  7. Chrome extension tutorial – access active page dom
  8. Docker – how to rerun a container with different flags
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Docker, Tutorials
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress