Skip to content

Commit 369c495

Browse files
committed
Updated read
1 parent fc47576 commit 369c495

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

Readme.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# docker-swift
2+
3+
![swift](https://raw.githubusercontent.com/hamin/EventSource.Swift/master/swift-logo.png)
4+
5+
6+
### An Ubuntu 14.04 Docker image for [Swift](https://swift.forg).
7+
8+
#### You can find the Docker Hub repo here: [https://hub.docker.com/r/harisamin/docker-swift/](https://hub.docker.com/r/harisamin/docker-swift/)
9+
10+
11+
### Docker Instructions
12+
13+
You can open a connection to your faye server.
14+
15+
##### Pull the Docker Image From Docker Hub:
16+
17+
```bash
18+
docker pull harisamin/docker-swift
19+
```
20+
21+
##### Create a container from the Image and attach it:
22+
23+
```bash
24+
docker run -i -t --name swiftfun harisamin/docker-swift:latest /bin/bash
25+
```
26+
27+
##### To start your and attach your image later:
28+
29+
Start your image with name `swiftfun`
30+
31+
```bash
32+
docker start swiftfun
33+
```
34+
35+
and then attach it
36+
37+
```bash
38+
docker start swiftfun
39+
```
40+
41+
42+
## Contributions
43+
44+
Contributions via pull requests are welcome and encouraged :)
45+
46+
## License
47+
48+
docker-swift is licensed under the MIT License.
49+
50+
Copyright (C) 2015 by Haris Amin
51+
52+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
53+
54+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
55+
56+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)