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 ...
随机推荐
- Vue版本过渡变化
到了2.0以后,有哪些变化: 在每个组件模板,不在支持片段代码 之前: <template id="aaa"> <h3>我是组件</h3>< ...
- WatchKit编程指南:Watch Apps--文本、标签以及图片
文本和分类标签 为了在Watch app中展示文本,使用标签对象.分类标签支持格式化的文本,可以在运行时被程序修改. 要添加标签到界面控制器,可以把它拖到对应的故事版场景(storyboard),在这 ...
- vue学习笔记(五)——指令
13条指令 1. v-text (数据绑定语法-插值) <span v-text="msg"></span> <!-- 和下面的一样 --> & ...
- python3 第一章 - 简介
1.什么是python 引用官方的话:Python是一种易于学习,强大的编程语言.它具有高效的高级数据结构,并通过简单而有效的方法来进行面向对象编程.Python的优雅语法和动态类型,以及其解释性质, ...
- 《UNIX实用教程》读书笔记
原著:<Just Enough UNIX> Fifth Edition [美]Paul K.Andersen 译著:<UNIX实用教程> 第5版 宋虹 曾庆冬 段桂华 杨路 ...
- hibernate解读之session--基于最新稳定版5.2.12
前言 hibernate是一个实现了JPA标准的,用于对象持久化的orm框架.博主近一年开发都在使用. 前段时间在工作中遇到了一个hibernate的问题,从数据库查找得到对象后,修改了其中部分字段值 ...
- 开发步骤Dubbo、spring mvc、springboot、SSM整合开发步骤
一.Dubbo开发步骤: 链接:https://pan.baidu.com/s/1pMPO1kf 密码:9zaa 第一: 1.创建consumer工程2.在pom.xml文件下添加配置3.添加appl ...
- DispatcherServlet介绍
<property name="features"> <list> <value>WriteMapNullValue</value> ...
- 08_jquery基础应用第一天
视频来源:麦子学院 讲师:李景山
- 【转】Linux 服务器安全配置
第一部分:RedHat Linux篇1.概述 Linux服务器版本:RedHat Linux AS 2.1 对于开放式的操作系统---Linux,系统的安全设定包括系统服务最小化.限制远程存取.隐藏重 ...