首先,需要安装EPEL仓库
# wget http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm
安装docker-io
# yum -y install docker-io
启动docker服务
# /etc/init.d/dock...
分类:
其他好文 时间:
2014-12-17 12:53:52
阅读次数:
194
Hello World
使用[docker run]命令在docker container中运行应用程序
# docker run fedora /bin/echo 'hello world'
hello world
docker run fedora,使用fedora的image,启动一个container
/bin/echo 'hello world',fedora中可执行的命...
分类:
其他好文 时间:
2014-12-17 12:51:26
阅读次数:
132
启动一个简单的web 应用
使用社区提供的模板,启动一个简单的web应用,熟悉下各种Docker命令的使用:
# docker run -d -P training/webapp python app.py
Unable to find image 'training/webapp' locally
Pulling repository training/webapp
31fa814ba2...
分类:
Web程序 时间:
2014-12-17 12:49:51
阅读次数:
169
Thanks to Core Data. Even without learning SQL and database, you’re able to perform create, select, update and delete operation. However, for those wi...
分类:
数据库 时间:
2014-12-17 09:07:42
阅读次数:
287
Docker 是最近相当热门的一个名词,它是一个基于 Linux Container 的轻量化的虚拟技术,而微软也相当积极与 Docker 合作,在 Azure 上支持这个火热的技术,并且提供简单的方式来建立 Docker Host,本文将会介绍如何在 Azure 上使用 Docker。Docker...
分类:
其他好文 时间:
2014-12-17 00:10:09
阅读次数:
394
__author__ = 'zxp'import dockerimport sysclass DockerManager_Slave(object): def __init__(self): self.idict={} self.rinfo={} tr...
前两篇文章介绍了docker的基本命令如何安装hadoop那么大家会比较了解docker的基本语法的安装过程。那么咱们今天来一起安装一下hive。安装1、下载gitHub,地址:https://github.com/prasanthj/docker-hive-on-tez。如果背墙了,可以选择下载z...
分类:
其他好文 时间:
2014-12-16 18:51:47
阅读次数:
841
elasticsearch? ulimit: error setting limit 解决: My understanding is that /etc/security/limits.conf applies to login shells - but if you‘ve installed docker via apt-get, it‘s started by Upstart. ...
分类:
其他好文 时间:
2014-12-16 13:38:59
阅读次数:
228
解决办法: This has helped me in installing aufs, run the following commands: sudo apt-get install lxc wget bsdtar curl
sudo apt-get install linux-image-extra-$(uname -r)
sudo modprobe aufs...
分类:
其他好文 时间:
2014-12-16 11:55:27
阅读次数:
241
类适配器 客户的开发人员定义了一个接口,期望用这个接口来完成整数的求和操作,接口定义如下: public interface Operation{ public int add(int a,int b); } 开发人员在了解这个接口的定义后,发现一个第三方类...
分类:
其他好文 时间:
2014-12-15 19:03:32
阅读次数:
152