Newer
Older
pepper / exportPEPPER.sh
#!/bin/bash
read -p "Open a new terminal and run . /runPEPPER.sh and wait until you see GET /api/health HTTP/1.0. Press enter key."
echo "-------------------------"
echo "Current running docker ontainer id is "
echo "-------------------------"
docker ps -q
echo "-------------------------"
read -p "Make sure that only one container ID is running and after that press enter key to capture single layered container image to pepper-lite.taz."
docker export $(docker ps -q) | gzip -c > pepper-lite.taz