Giter VIP home page Giter VIP logo

docker-1's Introduction

juliacn/docker:1.0

JuliaCN docker image

https://hub.docker.com/r/juliacn/docker/

docker入门

有用的一行码命令

进入bash

$ docker run --rm -it juliacn/docker:1.0 bash
root@69224e050ced:/home#

进入Jupyter Notebook

$ docker run -p 8888:8888 --rm -it juliacn/docker:1.0 
[I 17:56:12.219 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[W 17:56:12.385 NotebookApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.
[I 17:56:12.391 NotebookApp] Serving notebooks from local directory: /home
[I 17:56:12.391 NotebookApp] The Jupyter Notebook is running at:
[I 17:56:12.391 NotebookApp] http://(4b31f892a266 or 127.0.0.1):8888/
[I 17:56:12.391 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
..

进入Jupyter Notebook (加上本地文件夹home

$ docker run -p 8888:8888 -v `pwd`/home:/home --rm -it juliacn/docker:1.0 
[I 18:00:13.002 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[W 18:00:13.174 NotebookApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.
[I 18:00:13.183 NotebookApp] Serving notebooks from local directory: /home
[I 18:00:13.183 NotebookApp] The Jupyter Notebook is running at:
[I 18:00:13.183 NotebookApp] http://(9e35d3b205d3 or 127.0.0.1):8888/
[I 18:00:13.183 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

由于是本地个人电脑使用,我们不需要密码。用浏览器打开http://127.0.0.1:8888/.

docker-1's People

Contributors

ontouchstart avatar

Watchers

James Cloos avatar 高亚斌 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.