machine-learning-engineering-for-production-public icon indicating copy to clipboard operation
machine-learning-engineering-for-production-public copied to clipboard

Running docker image container in the background or detached mode

Open ankur-rana99 opened this issue 3 years ago • 0 comments

The problem When i run command from wsl- terminal docker run --rm -p 80:80 mlepc4w2-ugl:no-batch it basically run and stop taking cURL commands , so need to open some other terminal command window or CMD . Solution to run specified cURL commands directly from wsl (terminal) , we should run docker image container in the background or detached mode you can use the docker run command followed by the -d flag (or detached flag) and followed by the name of the docker image what worked for me docker run -d -p 80:80 mlepc4w2-ugl:no-batch

ankur-rana99 avatar May 08 '22 05:05 ankur-rana99