How to run a container in the background?
Answer
With the -d flag. It will run in the background and will not attach it to the terminal.
docker container run -d httpd or podman container run -d httpd
With the -d flag. It will run in the background and will not attach it to the terminal.
docker container run -d httpd or podman container run -d httpd