Skip to content

Instantly share code, notes, and snippets.

@beufordy3k
Last active April 19, 2018 03:32
Show Gist options
  • Save beufordy3k/99903d157c9c085ec8322701f5fe7128 to your computer and use it in GitHub Desktop.
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
#!/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