Giter Club home page Giter Club logo

docker's Introduction

Docker

鉴于我docker使用了很久,弄那个青龙的时候天天研究怎么用 所以基本操作都是很熟悉的,这里就只写一些不怎么熟悉的东西

关于docker的一些镜像大部分都是去dockerhub上面去看,一般的知名

  • 数据卷
    • 挂载数据卷就是在启动的时候加上一个-v的参数,然后就类似挂载端口一样 volume:容器内路径
    • 其实也可以不手动的创建一个volume 直接在运行的时候 -v后面的名字docker会自动创建的
    • 创建出来的卷在/var/lib/docker/volumes/名字
    • 如果直接文件:文件 那么就是直接挂载文件,与使用volume不同的是这种方式会直接替换镜像中的文件,也就是配置文件或者是数据库之类的可以使用这种方式
  • 镜像结构

docker's People

Contributors

mhpsy avatar

Watchers

 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.