Git Product home page Git Product logo

docker_usage's Introduction

docker_usage


1.open and login to ubuntun

docker run -it ubuntu /bin/bash

2.go int alpine for crystal

docker run -it alpine /bin/ash # and do somethings and exit
docker commit -a myth -m 'install crystal' 7d40949fa189 alpine_crystal # save the change to new local image  alpine_crystal

or

docker commit -a 'myth' -m 'install crystal' 19bc5431d047 ilikeorange/alpine-crystal # save the change to new local image  alpine_crystal for push
docker push ilikeorange/alpine-crystal #push the new image to dockerhub

3.cp betweent contain and Host

docker cp 03d0c69f8ed5:/crystal/rr .

4.docker search images by name

docker search alpine 	 # can not get alpine-crystal
docker search alpine-crys # can     get apline-crystal

docker_usage's People

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.