Giter Site home page Giter Site logo

docker-shipyard's Introduction

Docker-shipyard

##参考:https://shipyard-project.com/

##修改Docker配置

vim /etc/sysconfig/docker
OPTIONS= 中添加-H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock 
systemctl restart docker.service

##出现些小问题

msg="Error creating connection: gorethink: dial tcp 172.17.0.2:28015: getsockopt: connection refused" 
ERROR: for shipyard-shipyard  Cannot create container for service shipyard-shipyard: Could not get container for shipyard-rethinkdb
ERROR: for shipyard-agent  Cannot create container for service shipyard-agent: Could not get container for shipyard-discovery
ERROR: for shipyard-swarm  Cannot create container for service shipyard-swarm: Could not get container for shipyard-discovery
ERROR: Encountered errors while bringing up the project.

rethinkdb启动比较慢,得等会,有些容器启动比较慢现出异常多重启几次(docker-compose up -d)

shipyard-swarm-agent 启动时join shipyard-proxy 有时候会出现问题,找到shipyard-proxy对应的容器IP再修改docker-compose.yml再启动就可以了

##查看节点

docker inspect shipyard-swarm-manager
docker -H 172.17.2.5:3375 info

系统启动有些慢,得等会再才能打开登录页面,之后的登录也比较慢

登录shipyard界面

现在可以访问

http://<your-host-ip>:8080

登录shipyard了,默认用户名/密码是:admin/shipyard。

docker-shipyard's People

Contributors

crabdave avatar

Watchers

marker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.