Last active
April 19, 2018 03:32
-
-
Save beufordy3k/99903d157c9c085ec8322701f5fe7128 to your computer and use it in GitHub Desktop.
A Brief Script to start your Swift Docker Container *with* a working REPL
This file contains 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 | |
docker pull swift | |
docker run -it --name swifttest --mount type=bind,source=c:/projects/swift,target=/app --security-opt seccomp=unconfined swift:4.1 /bin/bash | |
# Run these next commands when you want to start your container the next time after you create it | |
docker start swifttest | |
docker exec -it swifttest bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment