Basic Commands in Docker | Part 1

Download an image Example: Download ubuntu version 16.04 -> sudo docker pull ubuntu:16.04 Download the latest version -> sudo docker pull ubuntu:lastest Syntax: sudo docker pull [name_image]:[tag] Delete an image Example: Method 1 -> sudo docker rm ubuntu:16.04 Method 2 -> sudo docker rm [image_id] Syntax: Method 1 -> sudo docker rm [name_image]:[tag] Method 2 […]