Update content.md

This commit is contained in:
Thomas Catterall 2017-01-13 19:37:23 +00:00 committed by GitHub
parent 5c3a99a48f
commit 34fb482640
1 changed files with 3 additions and 3 deletions

View File

@ -23,19 +23,19 @@ The goal of the Swift project is to create the best available language for uses
Swift requires [a little bit of extra security privilege](https://github.com/swiftdocker/docker-swift/issues/9#issuecomment-272527182) to run the REPL. The following command creates an ephemeral container, attaches your terminal to it and starts the Swift REPL. A great way to try out pre-release builds! Swift requires [a little bit of extra security privilege](https://github.com/swiftdocker/docker-swift/issues/9#issuecomment-272527182) to run the REPL. The following command creates an ephemeral container, attaches your terminal to it and starts the Swift REPL. A great way to try out pre-release builds!
```bash ```bash
docker run --cap-add sys_ptrace -it --rm swiftdocker/swift swift docker run --cap-add sys_ptrace -it --rm swift swift
``` ```
##### Pull the Docker Image From Docker Hub: ##### Pull the Docker Image From Docker Hub:
```bash ```bash
docker pull swiftdocker/swift docker pull swift
``` ```
##### Create a Container from the Image and Attach It: ##### Create a Container from the Image and Attach It:
```bash ```bash
docker run -it --name swiftfun swiftdocker/swift:latest /bin/bash docker run -it --name swiftfun swift:latest /bin/bash
``` ```
##### To Start and Attach Your Image Later: ##### To Start and Attach Your Image Later: