Last active
October 13, 2022 08:46
-
-
Save amcginlay/0c55ea1ba96e0e579f242207413e203e to your computer and use it in GitHub Desktop.
dockerize.sh
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
# the following docker command mounts the current directory from a new alpine container | |
# on macos/linux | |
docker run -it --net host -v ${HOME}/.kube/:/root/.kube -v ${PWD}:/work -w /work alpine sh | |
# on windows | |
docker run -it --net host -v ${USERPROFILE}/.kube/:/root/.kube -v ${CD}:/work -w /work alpine sh | |
# TODO - Dockerfile | |
# FROM ubuntu:latest | |
# ... add in required tooling, then run forever ... | |
# ENTRYPOINT ["tail", "-f", "/dev/null"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment