Update content.md
This commit is contained in:
parent
5c3a99a48f
commit
34fb482640
|
|
@ -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!
|
||||
|
||||
```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:
|
||||
|
||||
```bash
|
||||
docker pull swiftdocker/swift
|
||||
docker pull swift
|
||||
```
|
||||
|
||||
##### Create a Container from the Image and Attach It:
|
||||
|
||||
```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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue