Ubuntu中Repo2Docker如何使用

本篇文章给大家分享的是有关Ubuntu中Repo2Docker如何使用,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。

成都创新互联是一家专业提供安阳县企业网站建设,专注与网站建设、网站设计、H5高端网站建设、小程序制作等业务。10年已为安阳县众多企业、政府机构等服务。创新互联专业网站建设公司优惠进行中。

在Ubuntu上安装和使用步骤:

安装Miniconda,将缺省安装python3:

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh

安装repo2docker:

pip install jupyter-repo2docker

下载一个支持repo2docker的github项目:

git clone https://github.com/openthings/databook

然后开始构建:

jupyter-repo2docker ./databook

如果是使用root账号(如云服务器中),使用下面的方法:

repo2docker --no-run --user-id 1001 --user-name crowdai --debug ./databook

最后,使用命令 docker images 查看构建的镜像。

以上就是Ubuntu中Repo2Docker如何使用,小编相信有部分知识点可能是我们日常工作会见到或用到的。希望你能通过这篇文章学到更多知识。更多详情敬请关注创新互联行业资讯频道。


网页题目:Ubuntu中Repo2Docker如何使用
当前链接:http://scjbc.cn/article/jhieoh.html

其他资讯