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 ...
随机推荐
- WIN2016安装织梦没写入权限怎么办听语音
配置好了WINSERVER2016环境,一切看起来都弄得差不多了,可是安装织梦的时候提示我没有写入权限,不能继续安装,于是我很郁闷,开始寻求解决办法. 工具/原料 WINSERVER2016 织梦5. ...
- linux下yum命令出现Loaded plugins: fastestmirror
yum install的时候提示:Loaded plugins: fastestmirror fastestmirror是yum的一个加速插件,这里是插件提示信息是插件不能用了. 不能用就先别用呗,禁 ...
- 使用wrk进行性能测试
1 wrk介绍 wrk是一款现代化的HTTP性能测试工具,即使运行在单核CPU上也能产生显著的压力.它融合了一种多线程设计,并使用了一些可扩展事件通知机制,例如epoll and kqueue. 一个 ...
- 【JMedia】诺贝尔奖得主:东亚教育浪费了太多生命
10月3日,2016年诺贝尔奖开奖第一天,日本科学家大隅良典获得诺贝尔生理学或医学奖.进入21世纪,日本科学家获奖人数快速增长.包括物理奖8位.化学奖6位.生理学或医学奖3位,共计17位,平均下来差不 ...
- python 与redis
一.redis安装 源码安装: 1.wget http://download.redis.io/redis-stable.tar.gz 2.yum install gcc 3.tar zx ...
- oracle01
01-基本的查询语句 A:一些命令 sqlplus sys/sys@192.168.22.220:1521/orcl as sysdba; conn scott/123456@192.168.22.2 ...
- TypeError: 'encoding' is an invalid keyword argument for this function
python 2.7 问题 data_file = open("F:\\MyPro\\data.yaml", "r", encoding='utf-8') 运行 ...
- 如何通过命令或脚本方式在Windows上访问linux系统
很多情况下,我们需要在Windows上写脚本,创建计划任务程序,这个过程中可能需要访问linux系统,执行脚本或者上传下载文件.并且我们也不想在Windows上安装什么东西.那最好的办法就是使用put ...
- maven-assembly-plugin插件的使用方法
一. Assembly 是什么意思? 二. maven-assembly-plugin是什么? 它是maven中针对打包任务而提供的标准插件. 三. maven-assembly-plugin插件的作 ...
- 检查型异常(Checked Exception)与非检查型异常(Unchecked Exception)
这两个概念看了忘,碰着了又看,老是傻傻的分不清楚,今天把心得结合从网上搜的资料简单整理一下,希望帮自己明确区分开这两个概念,并牢牢的记住 1.检查型异常(Checked Exception) 个人理解 ...