Skip to content

日期: 2017 年 10 月 14 日

Portainer Simple management UI for Docker Installation

Simple management UI for Docker Installation How simple is it to deploy Portainer? Portainer installation using Docker Portainer runs as a lightweight Docker container (the Docker image weights less than 4MB) on a Docker engine or Swarm cluster.Therefore, you are one command away from running container on any machine using Docker. Deploy Portainer Use the following Docker commands to deploy Portainer: $ docker volume create portainer_data $ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var…

Portainer | Simple management UI for Docker

Simple management UI for Docker Demo A public demo is available at demo.portainer.io. Use the username admin and password tryportainer when prompted. Please note that the demo cluster is reset every 15min. Detailed overview Portainer gives you access to a central overview of your Docker host or Swarm cluster.From the dashboard, you can easily access any manageable entity. Containers Container list The containers section provides a view of all available containers. You can see details about the c…

Get Docker CE for Ubuntu

Estimated reading time: 10 minutes To get started with Docker CE on Ubuntu, make sure youmeet the prerequisites, theninstall Docker. Prerequisites Docker EE customers To install Docker Enterprise Edition (Docker EE), go toGet Docker EE for Ubuntuinstead of this topic. To learn more about Docker EE, seeDocker Enterprise Edition. OS requirements To install Docker CE, you need the 64-bit version of one of these Ubuntuversions: Zesty 17.04 Xenial 16.04 (LTS) Trusty 14.04 (LTS) Docker CE is supported…

Ubuntu · Docker —— 从入门到实践

Ubuntu 安装 Docker CE 准备工作 系统要求 Docker CE 支持以下版本的 Ubuntu操作系统: Zesty 17.04 Xenial 16.04 (LTS) Trusty 14.04 (LTS) Docker CE 可以安装在 64 位的 x86 平台或 ARM 平台上。Ubuntu 发行版中,LTS(Long-Term-Support)长期支持版本,会获得 5 年的升级维护支持,这样的版本会更稳定,因此在生产环境中推荐使用 LTS 版本。 卸载旧版本 旧版本的 Docker 称为 docker 或者 docker-engine ,使用以下命令卸载旧版本:  $ sudo apt-get remove docker docker-engine docker.io Ubuntu 14.04 可选内核模块 从 Ubuntu 14.04 开始,一部分内核模块移到了可选内核模块包 ( linux-image-extra-* ) ,以减少内核软件包的体积。正常安装的系统应该会包含可选内核模块包,而一些裁剪后的系统可能会将其精简掉。 AUFS 内核驱动属于可选内核模块的一部…

为Docker分配独立IP

Docker的网络模型 熟悉docker的人都知道,它有以下四种网络模式 host container none bridge 要理解Docker的网络,首先要发解的是Linux下面的network namespace。Linux Namespace是Linux提供的一种内核级别环境隔离的方法。其中network namepspace是六种隔离中的一种。 简单来说,如果将某一个进程的network namespace为设置为ns1,那么它将无法看到宿主机上(默认的名称空间下)的任何网络设备,路由规则,iptables,甚至是整个tcp/ip协议栈。在ns1下面创建的网络设备等等,在宿主机(默认的名称空间下)也同样看不到这些新创建的设备。这样,让用户感觉像是让我们的进程跑在了另外一个操作系统上面,仿佛我们新创建了一个操作系统环境。 了解了network namespace,我在再来了解docker的网络模式 host: 当使用host模式启动容器时,这个容器将不会创建自己的network namespace,而是和宿主机共用同一个。那么这样也就很好理解了,我们的进程创建的任何网络设备,监…