[docker] Basic command

  1. Create the docker file
  • docker image ls
    -> should be able to see the image
  • Docker COMMIT command (easy way)
    → inside docker container, you download stuff and then you can commit the container as it is to be an image
    docker commit <containerID> 1junechung/newcustomimage
docker run --name container1 my_first_image(actual image name) If docker has permission issues (only root allowed and normal user is not allowed)sudo usermod -aG docker $(whoami)If this doesn't work as well -> 
It means no privilege for creating new sockets in docker
sudo chmod 666 /var/run/docker.sock

ECR basic commands

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Achieving terraform DRYness with Ansible (part two)

Whitelist Process & Discord Wire Earning

Overcoming Blocks about Contributing to Open Source

A Practical Guide To Quantum Amplitude Amplification

Don’t Let Project Risks Become Roadblocks

IIGR — VL2: A Scalable and Flexible Data Center Network

Flutter plugin story (Part 6): chain of filters

First view on Flutter (an Android Developer View)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
June Chung

June Chung

More from Medium

Dynamic SQL and Embedded SQL

SQL Part 8

Basics of API using Postman

Basics of Postgress Sql