-
-
Save neybapps/d185ce141fdba3316bb15252607c9948 to your computer and use it in GitHub Desktop.
Building and running Docker images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build -t video-processing-service . | |
// for mac | |
docker build -t video-processing-service --platform linux/amd64 . | |
// List | |
docker images | |
// Run | |
docker run -p 3000:3000 -d video-processing-service | |
// To copy a file out of a running Docker container into your host, you can use the docker cp command. Here's how to do it: | |
docker cp <container-id-or-name>:/app/processed-nc-intro.mov ./ | |
// Clean Up | |
docker ps | |
docker stop <container-id-or-name> | |
docker ps -a | |
docker rm <container-id-or-name> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment