Complete the command to list all running Docker containers.
docker [1]The docker ps command shows all running containers.
Complete the command to remove a Docker container by its ID.
docker [1] container_idThe docker rm command removes a container by its ID.
Fix the error in the command to build a Docker image from a Dockerfile.
docker build -t [1] .The -t option tags the image with a name like my_image.
Fill both blanks to create a Docker container with a specific name and run it in detached mode.
docker run -d --name [1] [2]
my_container is the container name, and nginx is the image to run.
Fill all three blanks to write a Dockerfile snippet that sets the base image, copies files, and runs a command.
FROM [1] COPY . /app CMD ["[2]", "[3]"]
The base image is python:3.12-slim, the command is python, and the script to run is app.py.
