int32位 posted @ Mar 22, 2016 03:34:22 PM in docker , 1626 阅读


测试环境: ubuntu14.04 64位


wget -qO- | sh


默认只有root用户能进行操作,不过docker组也具有权限,因此若需要当前用户不需要root 也能访问docker,需要把用户加入到docker组:

sudo usermod -a -G docker username


sudo service docker start


docker info


Containers: 0
Images: 0
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 0
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.16.0-41-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 4
Total Memory: 7.707 GiB
Name: Alibaba-fgp


docker run -t -i --rm busybox

此时应该会先从docker hub中拉取镜像,然后启动容器实例


docker images #查看本地镜像
docker search hadoop #搜索hadoop相关镜像
docker pull krystism/openstackclient # 下载krystism/openstackclient镜像到本地
docker ps # 查看运行实例
docker ps -a # 查看所有实例,包括没有运行的
docker run -t -i ubuntu:14.04 # 运行ubuntu 14.04镜像
docker start id # 启动指定id实例(开机)
docker stop id # 停止指定id实例(关机)
docker rm id # 删除指定id实例(移除)
docker rmi id # 删除指定i镜像


  • 无匹配
  • 无匹配
Canara Bank Balance 说:
2021年12月24日 17:55

In past days customers needed to visit a bank branch to know their account balance check after ATMs were implemented, and they became one of the sources to see the balance inquiry. Later, the internet spread to every place banking services digitized, so everything went online. Canara Bank Balance Check To ensure that all users can benefit from these services, the bank has developed many methods for accessing and checking bank data such as bank balance, Canara bank mini statement, latest transactions, etc.

Alyssa 说:
2022年12月30日 23:08

Docker is a tool that makes it easy to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. Docker containers engagement rings can run on any machine and they are portable and consistent. Docker containers are created from images. An image is a file that contains all of the necessary code, libraries, and dependencies for an application. Images can be created by a developer or pulled from a repository, such as Docker Hub.

登录 *

loading captcha image...
or Ctrl+Enter