docker build -t fhillip/python3-beautifulsoup:master -t fhillip/python3-beautifulsoup:latest .
docker pull fhillip/python3-beautifulsoup
docker run -it --name NAME USERNAME/IMAGE:FLAG SCRIPT
docker run -it --name scrapperbs fhillip/python3-beautifulsoup:master python main.py
docker run -it --rm --name scrapperbs -v "$PWD"/scrapperbs:/usr/src/scrapperbs fhillip/python3-beautifulsoup:master python main.py
if you are running docker at Windows Home and are having issues with Dockerfile to copy the script files use the follow command to copy them manually
docker cp ./scrapperbs/*.py CONTAINER:/usr/src/scrapperbs
press CTRL + P, CTRL + Q, using both combination together
docker ps or docker container ps -a
docker ps -a or docker container ps -a
docker exec -it CONTAINER_ID CONTAINER_SCRIPT
docker exec -it CONTAINER_NAME COMMAND
Content type
Image
Digest
Size
332.8 MB
Last updated
about 7 years ago
docker pull fhillip/python3-beautifulsoup