100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHO 1: Containers and Kubernetes EX180V4K UPDATED Actual Exam Questions and CORRECT Answers $9.49   Add to cart

Exam (elaborations)

RHO 1: Containers and Kubernetes EX180V4K UPDATED Actual Exam Questions and CORRECT Answers

 1 view  0 purchase
  • Course
  • RHO 1: Containers and Kubernetes EX180V4K
  • Institution
  • RHO 1: Containers And Kubernetes EX180V4K

RHO 1: Containers and Kubernetes EX180V4K UPDATED Actual Exam Questions and CORRECT Answers sudo podman inspect -f '{{ .NetworkSettings.IPAddress }}' mysql-1 - CORRECT ANSWER- Comando para obtener la dirección IP del contenedor mysql-1. sudo chown -R 27:27 /var/local/mysql - CORRECT ANSWER-...

[Show more]

Preview 2 out of 6  pages

  • September 26, 2024
  • 6
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHO 1: Containers and Kubernetes EX180V4K
  • RHO 1: Containers and Kubernetes EX180V4K
avatar-seller
MGRADES
RHO 1: Containers and Kubernetes
EX180V4K UPDATED Actual Exam
Questions and CORRECT Answers
sudo podman inspect -f '{{ .NetworkSettings.IPAddress }}' mysql-1 - CORRECT ANSWER-
✔✔Comando para obtener la dirección IP del contenedor mysql-1.



sudo chown -R 27:27 /var/local/mysql - CORRECT ANSWER- ✔✔Comando para cambiar
el propietario del directorio /var/local/mysql para el usuario mysql y el grupo mysql.


sudo semanage filecontext -a -t container_file_t '/var/local/mysql(/.*)?' - CORRECT
ANSWER- ✔✔Comando para aplicar el contexto SELinux adecuado para el directorio
/var/local/mysql y su contenido.


sudo restorecon -Rv /var/local/mysql - CORRECT ANSWER- ✔✔Comando para aplicar la
política de contenedores de SELinux creada al directorio /var/local/mysql.


mysql -uuser1 -pmypa55 -P13306 -h workstation.lab.example.com items - CORRECT
ANSWER- ✔✔Comando para conectarse a la base de datos MSQL items desde el host de
workstation.lab.example.com con puerto 13306, usuario user1 y password mypa55.


sudo podman run -d --name=mysql-1 -v /var/local/mysql:/var/lib/mysql/data -p 13306:3306 -
e MYSQL_USER=user1 -e MYSQL_PASSWORD=mypa55 -e MYSQL_DATABASE=items
-e MYSQL_ROOT_PASSWORD=r00tpa55 rhscl/mysql-57-rhel7 - CORRECT ANSWER-
✔✔Comando para implementar una instancia de contenedor MySQL con las siguientes
características:
Nombre: mysql-1
Ejecutar como daemon: si
Volumen: desde la carpeta del host /var/local/mysql hasta la carpeta del contenedor
/var/lib/mysql/data
Imagen de contenedor: rhscl/mysql-57-rhel7
Reenvío de puertos: si, desde el puerto 13306 del host hasta el puerto 3306 del contenedor.
Variables de entorno:
-MYSQL_USER=user1

, -MYSQL_PASSWORD=mypa55
-MYSQL_DATABASE=items
-MYSQL_ROOT_PASSWORD=r00tpa55


sudo podman exec -it mysql-1 /bin/bash - CORRECT ANSWER- ✔✔Comando para acceder
al shell del contenedor mysql-1.


sudo podman ps - CORRECT ANSWER- ✔✔Comando para verificar la lista de
contenedores activos.


sudo podman stop mysql-1 - CORRECT ANSWER- ✔✔Comando para detener el contenedor
mysql-1 correctamente.


sudo podman rm mysql-1 - CORRECT ANSWER- ✔✔Comando para eliminar el contenedor
mysql-1 y liberar recursos.


sudo podman search -f is-official=true docker.io/nginx - CORRECT ANSWER-
✔✔Comando para buscar la imagen oficial docker.io/nginx.



sudo podman pull docker.io/nginx - CORRECT ANSWER- ✔✔Comando para extraer la
imagen docker.io/nginx.


sudo podman images - CORRECT ANSWER- ✔✔Comando para enlistar las imágenes en el
repositorio local.


sudo podman commit -a 'Miguel Garza' official-nginx do180/mynginx:v1.0 - CORRECT
ANSWER- ✔✔Comando para confirmar los cambios hechos en el contenedor official-nginx
y crear otra imagen do180/mynginx:v1.0 con los nuevos cambios con nombre de autor:
Miguel Garza.


sudo podman rmi do180/mynginx:v1.0 - CORRECT ANSWER- ✔✔Comando para eliminar
la imagen de contenedor do180/mynginx:v1.0

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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 MGRADES. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75323 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.49
  • (0)
  Add to cart