managing the containers
3.0K
Building docker build -t cloudpurge/cagefox-dispatcher:latest .
Running Please update the coorect path to certs $(pwd)/../certs_self/cert.pem and key dont touch their container name part These path is used by nginx hardcoded untill we find how to push env to nginx conf Please remove dispatcher contanier name before running The name is used by isolator contaniers to mount its socket for the dispatcher nginx The DISPATCHER_CONTAINER variable is used ot inform the isolator containers where to mount their sockers must match --name param
TODO: make contanier self name aware to fix and env var
docker rm sockets_share dispatcher
docker create -v /sockets --name sockets_share ubuntu:xenial /bin/true
docker run -ti -p 443:443 -p 8080:8080
-v /var/run/docker.sock:/var/run/docker.sock
-v (pwd)/../certs_self/cert.pem:/certs/cert.pem
-v (pwd)/../certs_self/key_no_pass.pem:/certs/key.pem
--name dispatcher -e DISPATCHER_CONTAINER=dispatcher
-e SOCKETS_SHARE=sockets_share
--volumes-from sockets_share
cloudpurge/cagefox-dispatcher:latest
for debug add
-v (pwd)/../novnc:/var/www/html/noVNC
-v (pwd)/dispatcher:/dispatcher \
requires /sockets/XXXXXXX/websock.socket requires /certs/cert.pem /certs/key.pem requires /var/run/docker.sock requires name dispatcher -e DISPATCHER_CONTAINER=dispatcher
exports : port 443 and 8080
docker build -t cloudpurge/cagefox-dispatcher:addSpice .
docker run -ti -p 8080:8080
-v /var/run/docker.sock:/var/run/docker.sock
--name dispatcher
-e ISOLATOR_NETWORK=cloud
-e LOCK_VOLUME=hello
-v hello:/mnt/locks:rw
--network=cloud
--ip="172.28.0.2"
cloudpurge/cagefox-dispatcher:addSpice
Content type
Image
Digest
Size
258.7 MB
Last updated
about 8 years ago
docker pull cloudpurge/cagefox-dispatcher