-
-
Notifications
You must be signed in to change notification settings - Fork 42
Docker
cannonbeach edited this page Oct 29, 2018
·
6 revisions
Build and save the Docker image:
- Build the Docker image (this is based on the Dockerfile - modify as needed)
cannonbeach@insanitywave:$: sudo docker build -t dockerfillet .
- Extract the Docker image (so it can be copied over to another node)
cannonbeach@insanitywave:$: sudo docker save -o /home/cannonbeach/fillet/docker/dockerfillet.tar dockerfillet
- Import the Docker image (after coyping)
cannonbeach@insomniacoffee:$: sudo docker load -i dockerfillet.tar
- Run the Docker image
cannonbeach@insomniacoffee:$: sudo docker run -itd --net=host -p 4000:4000 -v /var/www/html/hls:/var/www/html/hls dockerfillet
Misc Commands:
sudo docker ps
sudo docker attach