Docker for Absolute Beginners Flashcards
1
Q
How do you install Docker?
A
Copy and paste instructions on docker website
1: make sure any docker components are removed with yum remove
2: set up repository
3: install docker engine
4: start docker
5: run the hello world container test (sudo docker hello-world)
—–OR—–
install with the “convenience script” on the same instruction page
2
Q
command to check docker version?
A
docker version
3
Q
command to test if docker is working?
A
sudo docker hello-world
4
Q
A