Last active
August 5, 2020 09:08
-
-
Save amcginlay/0d0448bdad97fad32844a76dec666f3d to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
mkdir myubuntu && cd $_ | |
echo "FROM ubuntu:latest" > Dockerfile | |
docker build -t myubuntu . # notice IMAGE ID will be identical to ubuntu:latest as no extra layers added | |
docker container run -it myubuntu /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment