You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 24, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
This is a Docker Client written in Swift. It's using the NIO Framework to communicate with the Docker Engine via sockets.
6
6
7
+
7
8
## Current Use Cases
8
9
-[x] List of all images
9
10
-[x] List of all containers
@@ -39,6 +40,7 @@ let package = Package(
39
40
To add DockerClientSwift to your existing Xcode project, select File -> Swift Packages -> Add Package Depedancy.
40
41
Enter `https://github.com/alexsteinerde/docker-client-swift.git` for the URL.
41
42
43
+
42
44
## Usage Example
43
45
```swift
44
46
let client =DockerClient()
@@ -49,16 +51,25 @@ let output = try container.logs(on: client).wait()
49
51
print(output)
50
52
```
51
53
52
-
For further usage examples, please consider looking at the provided test cases.
54
+
For further usage examples, please consider looking at the provided test cases. Or have a look at the demo projects in the next section.
55
+
If you want to read more about this package, feel free to read my [blog article](https://alexsteiner.de/blog/posts/docker-client-package-with-swift/) about it.
53
56
54
57
## Demo
55
-
There are two demo applications. One for the usage as a [Mac app](https://github.com/alexsteinerde/docker-client-swift-mac-app) and one in an [Vapor environment on the server](https://github.com/alexsteinerde/docker-client-vapor-demo).
When using this in production, make sure you secure your application so no others can execute code. Otherwise, the attacker could access your Docker environment and so all of the containers running in it.
59
68
69
+
60
70
## License
61
71
This project is released under the MIT license. See [LICENSE](LICENSE) for details.
62
72
73
+
63
74
## Contribution
64
75
You can contribute to this project by submitting a detailed issue or by forking this project and sending a pull request. Contributions of any kind are very welcome :)
0 commit comments