Created
February 13, 2021 19:25
-
-
Save fernyb/94d9bfbe8821de9612dbf08c3306b82a to your computer and use it in GitHub Desktop.
docker bash
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
# entrypoint is the default /bin/sh -c | |
# /bin/sh -c bash | |
docker run -i -t pup bash | |
# Build docker image | |
docker build -t pup . | |
# remove dangling images | |
docker image prune | |
# remove both unused and dangling images | |
docker image prune -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment