docs/swift
Docker Library Bot 585a4ac928 Run update.sh 2018-12-20 02:09:13 +00:00
..
README-short.txt Update the README-short to be within 100 char 2018-12-10 12:22:33 -08:00
README.md Run update.sh 2018-12-20 02:09:13 +00:00
content.md Update Swift logo and README with new repository 2018-12-10 10:36:52 -08:00
get-help.md Add link to swift forums for Swift Docker help 2018-12-12 12:59:05 -08:00
github-repo Update Swift Docker repository location 2018-12-07 11:59:44 -08:00
issues.md Update the text in issues 2018-12-12 12:45:46 -08:00
license.md Rename LICENSE.md to license.md 2017-01-21 08:46:23 -08:00
logo.png Update Swift logo and README with new repository 2018-12-10 10:36:52 -08:00
maintainer.md Fix typo in swift maintainer 2018-12-12 12:32:12 -08:00

README.md

Supported tags and respective Dockerfile links

Quick reference

What is Swift?

Swift is a high-performance system programming language. It has a clean and modern syntax, offers seamless access to existing C and Objective-C code and frameworks, and is memory safe by default.

Although inspired by Objective-C and many other languages, Swift is not itself a C-derived language. As a complete and independent language, Swift packages core features like flow control, data structures, and functions, with high-level constructs like objects, protocols, closures, and generics. Swift embraces modules, eliminating the need for headers and the code duplication they entail.

To learn more about the programming language, visit swift.org.

swift.org
Swift on Github

logo

How to use this image

Start a REPL

Swift requires a little bit of extra security privilege 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!

docker run --cap-add sys_ptrace -it --rm swift swift
Pull the Docker Image From Docker Hub:
docker pull swift
Create a Container from the Image and Attach It:
docker run  -it --name swiftfun swift /bin/bash
To Start and Attach Your Image Later:

Start your image with name swiftfun

docker start swiftfun

and then attach it

docker attach swiftfun

License

View license information for the software contained in this image.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Some additional license information which was able to be auto-detected might be found in the repo-info repository's swift/ directory.

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.