Skip to content
cannonbeach edited this page Oct 29, 2018 · 6 revisions

Build and save the Docker image:

  1. Build the Docker image (this is based on the Dockerfile - modify as needed)

cannonbeach@insanitywave:$: sudo docker build -t dockerfillet .

  1. 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

  1. Import the Docker image (after coyping)

cannonbeach@insomniacoffee:$: sudo docker load -i dockerfillet.tar

  1. 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

Clone this wiki locally