Redhat Containers and Kubernetes EX180 Exam Study Guide.
0 view 0 purchase
Course
Redhat Containers
Institution
Redhat Containers
Redhat Containers and Kubernetes EX180
Exam Study Guide.
Search for images called nginx - answerpodman search nginx
run a container based on image nginx:latest with an environment variable DEBUG=TRUE -
answerpodman run -d -e DEBUG=TRUE nginx:latest
connect interactively to a running container ...
Redhat Containers and Kubernetes EX180
Exam Study Guide.
Search for images called nginx - answer✔podman search nginx
run a container based on image nginx:latest with an environment variable DEBUG=TRUE -
answer✔podman run -d -e DEBUG=TRUE nginx:latest
connect interactively to a running container called nginx - answer✔podman exec -it nginx
/bin/bash
list all containers - both running and stopped - answer✔podman ps -a
list all running containers showing just ID and and image name - answer✔podman ps --format
"{{.ID}} {{.IMAGE}}"
copy ./file.txt to /tmp in running container nginx - answer✔podman cp ./file.txt nginx:/tmp
stop container nginx - answer✔podman stop nginx
remove a stopped container called nginx - answer✔podman rm nginx
connect to container registry registry.redhat.io - answer✔podman login registry.redhat.io
start a container based on nginx:latest interactively, and override the starting command with
/bin/bash - answer✔podman run -it nginx:latest /bin/bash
start a container based on nginx:latest, and map a host port of 8080 to port 80 in the container -
answer✔podman run -d -p 8080:80 nginx:latest
start a container based on nginx:latest with a name mynginx - answer✔podman run -d --name
mynginx nginx:latest
run a container based on mysql:latest with the host folder /tmp/mysql mapped to /var/lib/mysql -
answer✔podman run -d -v /tmp/mysql:/var/lib/mysql mysql:latest
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller sirjoel. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.