docker tips - githeim/windheim_archive GitHub Wiki

How to debug build image failures

Step 23/27 : COPY ./install_additional_pkg_after.sh /home/${user}
---> 4900f0c908a8
Step 24/27 : RUN ./install_additional_pkg_after.sh ${user_passwd}
---> Running in d311ef1d36d7
The command '/bin/sh -c ./install_additional_pkg_after.sh ${user_passwd}' returned a non-zero code: 1

d311ef1d36d7

docker commit d311ef1d36d7 mytempimage

docker run -it mytempimage /bin/bash

hard copy docker image

docker save -o <path for generated tar file> <image name>

docker load -i <path to image tar file>

run the browser in the docker container

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install -y ./google-chrome-stable_current_amd64.deb
$ google-chrome-stable
⚠️ **GitHub.com Fallback** ⚠️