Coder Social home page Coder Social logo

mydocker's Introduction

Mydocker

环境Python+Django
Python版本2.7X
Django 1.8

第一版功能
目前仅支持容器的 启动、停止、删除、创建、inspect、镜像的显示.

#python2.7安装
wget https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz
./configure --enable-shared --prefix=/usr/local/python2.7/
make
make install
echo /usr/local/python2.7/lib/ >> /etc/ld.so.conf && ldconfig

安装python-pip

wget http://peak.telecommunity.com/dist/ez_setup.py
/usr/local/python2.7/bin/python2.7 ez_setup.py
/usr/local/python2.7/bin/easy_install pip

#django安装使用pip
/usr/local/python2.7/bin/pip install django

修改连接Docker地址

vim control/utils/docker_api.py
domain='http://10.0.2.23:4243'

运行(直接浏览器就可以访问了)
/usr/local/python2.7/bin/python2.7 manage.py runserver 0.0.0.0:8080

容器

Aaron Swartz #创建容器
Aaron Swartz #容器详情
Aaron Swartz #镜像
Aaron Swartz

mydocker's People

Contributors

davidchenlj avatar

Watchers

 avatar  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.