How to use Repo2Docker in Ubuntu
This article is to share with you about how to use Repo2Docker in Ubuntu. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Steps to install and use on Ubuntu:
Install Miniconda, and python3 will be installed by default:
Wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.shchmod + x Miniconda3-latest-Linux-x86_64.sh./Miniconda3-latest-Linux-x86_64.sh
Install repo2docker:
Pip install jupyter-repo2docker
Download a github project that supports repo2docker:
Git clone https://github.com/openthings/databook
Then start building:
Jupyter-repo2docker. / databook
If you are using a root account (such as in a CVM), use the following method:
Repo2docker-no-run-user-id 1001-user-name crowdai-debug. / databook
Finally, use the command docker images to view the built image.
The above is how to use Repo2Docker in Ubuntu. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.