mirror of https://github.com/portainer/portainer
parent
a198382c06
commit
49d4c5800f
@ -0,0 +1,3 @@
|
|||||||
|
FROM debian
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y socat
|
@ -0,0 +1,11 @@
|
|||||||
|
# DockerUI with Swarm
|
||||||
|
|
||||||
|
This example works with swarm clusters created with docker-machine.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Make sure your client is pointed directly to the Docker daemon on the swarm-master's node (not through swarm).
|
||||||
|
|
||||||
|
```
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
@ -0,0 +1,11 @@
|
|||||||
|
dockerui:
|
||||||
|
image: dockerui/dockerui
|
||||||
|
command: -e http://127.0.0.1:2375
|
||||||
|
net: "host"
|
||||||
|
|
||||||
|
socat:
|
||||||
|
build: .
|
||||||
|
net: "host"
|
||||||
|
command: socat -d -d TCP-L:2375,fork,bind=localhost ssl:127.0.0.1:3376,cert=/var/lib/boot2docker/server.pem,cafile=/var/lib/boot2docker/ca.pem,key=/var/lib/boot2docker/server-key.pem
|
||||||
|
volumes:
|
||||||
|
- /var/lib/boot2docker:/var/lib/boot2docker
|
Loading…
Reference in new issue