GoConqr has a new look! Let us know what you think.

Flashcards

3 Docker run

Archimed Nemes Kodekloud Docker basics Easy English 12 cards

Cards in this deck (12)

  1. 1Run redis container version 4.0docker run redis:4.0
  2. 2How to view versions of image?dockerhub.com look for tags
  3. 3Run some-docker image of alibala in interactive modedocker run -i alibala/some_docker
  4. 4Run some-docker image of alibala in interactive mode (this time attach to container terminal)docker run -it alibala/some_docker
  5. 5How can a user access docker web application from docker host?by using IP of docker container or
    by using IP of docker host
  6. 6What should be done in order to access docker web app using IP of Docker host?map port of docker container to port of host
  7. 7Map port 80 of host to port 5000 of kodekloud/webapp docker containerdocker run -p 80:5000 kodekloud/webapp
  8. 8What do you need to do in order to persist data o docker container?You need to map directory outside docker container to inside directory
  9. 9Map /opt/datadir direcory which is outside container to directory /var/lib/mysql directory inside my sql containerdocker run -v /opt/datadir:/var/lib/mysql mysql
  10. 10View detailed information about docker contianer in json formatdocker inspect
  11. 11view logs of docker containerdocker logs
  12. 12View version of Ubuntu in dockerdocker run ubuntu cat /etc/*release*

Information

Description
Easy Kodekloud Docker basics Flashcards on 3 Docker run, created by Archimed Nemes on 22/12/2022.
Created by
Archimed Nemes
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?