代码拉取完成,页面将自动刷新
Yet another docker web ui.
git clone https://github.com/dynport/dockland.git /opt/dockland
cd /opt/dockland
bundle
bundle exec ./bin/dockland -h <DOCKER_API_HOST>
open http://127.0.0.1:9292
# /tmp/dockland.dockerfile
FROM ubuntu:12.04
RUN sed 's/main$/main universe/' -i /etc/apt/sources.list && apt-get update && apt-get upgrade -y
RUN apt-get install ruby1.9.1 ruby1.9.1-dev build-essential git-core graphviz libssl-dev -y
RUN git clone https://github.com/dynport/dockland.git /app
# this is to speed up updates
RUN cd /app && gem install bundler --no-ri --no-rdoc && bundle
# change the revision to update your image
ENV APP_REVISION 51f5445abeeb080568edeca248d68b29a66f1387
RUN cd /app && git fetch -q origin && git reset -q --hard $APP_REVISION && git clean -q -d -x -f && bundle
EXPOSE 80
CMD cd /app && bundle exec ./bin/dockland -h ${DOCKER_HOST-http://172.16.42.1:4243} -p 80
$ docker build -t dockland:dockland - < /tmp/dockland.dockerfile
$ id=$(docker run -d dockland:dockland)
$ curl -I http://127.0.0.1:$(docker port $id 80)
In that case you would need to bind the docker daemon either on the 0.0.0.0
(so you probably want to have some firewall setup) or the 172.16.42.1
interface as the default now seems to be the 127.0.0.1
interface.
/opt/docker/bin/docker -H <0.0.0.0|172.16.42.1> -d 2>&1 | logger -t docker &
You can use an provide an alternative docker host like this
docker run -e DOCKER_HOST=http://docker.host:4243 -d dockland:dockland
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。