docker cs50 ide 安装
ECS上搭建Docker(CentOS7):
https://help.aliyun.com/document_detail/51853.html
docker官方文档:
https://docs.docker.com/
docker运行中容器不释放磁盘空间
https://segmentfault.com/q/1010000005846603/a-1020000005854058
Docker占满磁盘空间的解决办法
http://blog.csdn.net/tinyjian/article/details/55006725
Docker镜像的使用方法
https://yq.aliyun.com/ziliao/117548
Installed:
docker.x86_64 2:1.12.6-32.git88a4867.el7.centos
Dependency Installed:
container-selinux.noarch 2:2.19-2.1.el7 docker-client.x86_64 2:1.12.6-32.git88a4867.el7.centos
docker-common.x86_64 2:1.12.6-32.git88a4867.el7.centos oci-register-machine.x86_64 1:0-3.11.gitdd0daef.el7
oci-systemd-hook.x86_64 1:0.1.7-4.gite533efa.el7 skopeo-containers.x86_64 1:0.1.20-2.el7
Complete!
[root@linux ~]# systemctl start docker
[root@linux ~]# docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 1.12.6
Storage Driver: devicemapper
Pool Name: docker-253:1-2090763-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 11.8 MB
Data Space Total: 107.4 GB
Data Space Available: 30.55 GB
Metadata Space Used: 581.6 kB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.147 GB
Thin Pool Minimum Free Space: 10.74 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.135-RHEL7 (2016-11-16)
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
Volume: local
Network: null host bridge overlay
Swarm: inactive
Runtimes: docker-runc runc
Default Runtime: docker-runc
Security Options: seccomp
Kernel Version: 3.10.0-514.10.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 2
CPUs: 1
Total Memory: 1.796 GiB
Name: linux
ID: 36Y5:26VW:LXNL:VB3M:TMSA:DERW:ORXN:SFX5:FM62:LRMC:D6CI:56SV
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
127.0.0.0/8
Registries: docker.io (secure)
Win7上安装docker:
Running pre-create checks...
(default) No default Boot2Docker ISO found locally, downloading the latest relea
se...
(default) Latest release for github.com/boot2docker/boot2docker is v17.06.0-ce
(default) Downloading C:\Users\ThinkPad.docker\machine\cache\boot2docker.iso fr
om https://github.com/boot2docker/boot2docker/releases/download/v17.06.0-ce/boot
2docker.iso...
参考:http://blog.csdn.net/zhengmx100/article/details/71809233
版本号必须严格匹配,只好花了一个CSDN积分下载。
Running pre-create checks...
Creating machine...
(default) Copying C:\Users\ThinkPad\.docker\machine\cache\boot2docker.iso to C:\
Users\ThinkPad\.docker\machine\machines\default\boot2docker.iso...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
(default) Starting the VM...
(default) Check network to re-create if needed...
(default) Windows might ask for the permission to create a network adapter. Some
times, such confirmation window is minimized in the taskbar.
(default) Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter
#2"
(default) Windows might ask for the permission to configure a network adapter. S
ometimes, such confirmation window is minimized in the taskbar.
(default) Windows might ask for the permission to configure a dhcp server. Somet
imes, such confirmation window is minimized in the taskbar.
(default) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this vi
rtual machine, run: D:\Program Files\Docker Toolbox\docker-machine.exe env defau
lt
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com
Start interactive shell
ThinkPad@ThinkPad-PC MINGW64 ~ (master)
$
install cs50 ide
执行命令:
docker run --privileged -e "192.168.99.100=$(docker-machine ip default)" -e "OOFLINE_PORT=8080" --name cs50ide -d -p 5050:5050 -p 8080:8080 cs50/ide50-offline
或
docker run --privileged -e "192.168.99.100=$(docker-machine ip default)" -e "OFFLINE_PORT=8080" --name ide50 -d -p 5050:5050 -p 8080-8082:8080-8082 cs50/ide50-offline
执行完成后在浏览器中输入:
http://OFFLINE_IP:5050
或
http://192.168.99.100:5050
具体可参考:
https://manual.cs50.net/ide/offline
docker下载镜像文件很慢,可以设置代理服务器。此外,由于所有文件下载之后都房子啊C盘中,考虑到空间使用问题,最好重新设置保存路径。
详细的设置方法:
http://blog.csdn.net/y_f_raquelle/article/details/72461721
使用 Docker 搭建 Java Web 运行环境
http://www.cnblogs.com/zengkefu/p/5667046.html
docker在web开发中得使用流程是怎样的?
https://www.zhihu.com/question/51134842/answer/124450760
用Docker部署一个Web应用
https://zhuanlan.zhihu.com/p/26418829?utm_medium=social&utm_source=weibo
完整记录在 windows7 下使用 docker 的过程
http://www.jianshu.com/p/d809971b1fc1
停用和删除容器
http://blog.csdn.net/cmzsteven/article/details/49230363
删除所有images
http://blog.csdn.net/fancivez/article/details/51374609
Problem with CS50 IDE offline cs50常见问题:
https://cs50.stackexchange.com/questions/15701/problem-with-cs50-ide-offline
https://cs50.stackexchange.com/questions/13868/should-i-use-cs50-ide-or-cs50-appliance-as-an-edx-student
CS50课程论坛:
https://cs50.stackexchange.com/
cloud9 documentation 官方
https://docs.c9.io/docs/
docker cs50 ide 安装的更多相关文章
- docker学习(1) 安装
docker是啥就不多讲了,简言之就是更轻量.更牛叉的新一代虚拟机技术.下面是安装步骤: 一.mac/windows平台的安装 docker是在linux内核基础上发展而来的,无法直接运行在mac/w ...
- 原创docker dcos 的安装
原创哈,上个星期无意间发现了一个可以好东西 DC/OS https://dcos.io 这个是官网哈 然后就痛苦的折磨了一个多星期; 基本是参照到https://dcos.io/docs/1.7/ad ...
- Docker版本与安装介绍
Docker版本与安装介绍 Docker-CE 和 Docker-EE Centos 上安装 Docker-CE Ubuntu 上安装 Docker-CE Docker-CE和Docker-EE Do ...
- linux系统docker版本升级或安装
如果存在旧版本,则先卸载 最好先将镜像导出保存,以免升级后丢失或者无法使用 如有正在运行的容器,先停止 $ docker ps -q | xargs docker stop 关闭docker服务 $ ...
- docker学习-----docker服务的安装
docker 以下观点个人理解,只做参考 一.docker本身的优势 1.docker他本身是一个容器,用来方便我们项目打包,做服务器虚拟化,统一开发者环境等多种优势:运行于docker上的项目可以快 ...
- Docker容器中安装vim
我在docker中安装了jexus.使用vim编辑default配置文件的时候提示 vim: command not found 原因是docker中没有安装vim命令 如果你直接输入 apt-ge ...
- 基于 debian 操作系统的 docker 镜像,安装 vim
基于 debian 操作系统的 docker 镜像,安装 vim,步骤: apt-get update apt-get install vim 注意: 直接运行步骤2,可能会报错: Reading p ...
- Docker详细介绍安装与镜像制作和拉取
一.Docker是什么? 产生背景: 开发和运维之间因为环境不同和导致的矛盾(不同的操作系统.软件环境.应用配置等)DevOps 代码.系统.环境.配置等封装成镜像Image--->运维: 集群 ...
- Docker CE 各安装方法
1.Docker CE 镜像源站 使用官方安装脚本自动安装 curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 2.U ...
随机推荐
- dig(域信息搜索器)命令
dig命令 dig命令是常用的域名查询工具,可以用来测试域名系统工作是否正常. 语法 dig(选项)(参数) 选项 @<服务器地址>:指定进行域名解析的域名服务器: -b<ip地 ...
- jquery ui-----弹出窗口 dialog
jquery ui 提供了强大的dialog功能,基本能满足开发的功能. 先上一个简单的例子: [代码] <script> $(function() { $( "#dialo ...
- NumPy-矩阵部分
NumPy-矩阵部分 [TOC] NumPy 简介 numpy可用来存储和处理大型矩阵,比Python自身的嵌套列表(nested list structure)结构要高效的多. 安装NumPy pi ...
- Azure Powershell使用已有特殊化非托管磁盘创建ARM虚拟机
生成已有特殊化非托管磁盘的方法主要有如下两种: 1.使用StorageExplorer存储管理工具,复制特殊化磁盘到一个新的容器下 2.New Portal中删除虚拟机,默认vhd文件会保留在存储账号 ...
- sitemesh网页布局
看项目时发现对应页面下找不到侧栏部分代码,仔细观察后发现页面引入了sitemesh标签,查了下资料原来是页面用了sitemesh框架解!耦!了! 以前多个模块包含相同模块时总是include jsp文 ...
- linkin大话设计模式--门面模式
linkin大话设计模式--门面模式 随着系统的不断改进和开发,他们会变得越来越复杂,系统会生成大量的类,这使得程序的流程更加难以理解.门面模式可以为这些类提供一个简易的接口,从而简化访问这些类的复杂 ...
- CSS常用字体名称
CSS样式中常用的字体名称 css中引入字体: @font-face { font-family: "AncientWar"; src: url('style/css/font ...
- TCP那些事儿(下)
这篇文章是下篇,所以如果你对TCP不熟悉的话,还请你先看看上篇<TCP的那些事儿(上)> 上篇中,我们介绍了TCP的协议头.状态机.数据重传中的东西.但是TCP要解决一个很大的事,那就是要 ...
- python交互模式下tab键自动补全
import rlcompleter,readline readline.parse_and_bind('tab:complete')
- 模型的继承 -- Django从入门到精通系列教程
该系列教程系个人原创,并完整发布在个人官网刘江的博客和教程 所有转载本文者,需在顶部显著位置注明原作者及www.liujiangblog.com官网地址. Python及Django学习QQ群:453 ...