
docker
文章平均质量分 63
cs08211317dn
这个作者很懒,什么都没留下…
展开
-
Docker - How to create a custom database from docker mysql image
Problem:I use the official mysql base image from Docker Hub to create mysql database. But by default it only creates one database. I want to create another database.Solution:mysql image actually provides a way to do this.So we just need to create a .sq原创 2016-03-02 22:42:39 · 1403 阅读 · 0 评论 -
Windows 系统安装Docker Compose 步骤
参考 Docker Compose official 官方安装指南: https://docs.docker.com/compose/install/实际上到目前为止还不能直接在Windows上安装Docker Compose,所以这篇文章要讲的是如何在Windows上使用Docker Compose。先决条件: Docker Machine 已经安装完毕。解决方案: 将 Docker-Compose 安装在Boot2Docker虚拟机中。1. SSH to VM2.获得root用户权限3. 运原创 2016-02-22 10:36:04 · 8381 阅读 · 0 评论 -
运行第一个 docker image 并在浏览器中查看
1. SSH to Docker 虚拟机2. 下载并运行 Docker Hub 上的 nginx 镜像3.获取虚拟机 IP4. 在浏览器中查看原创 2016-02-22 10:42:15 · 6229 阅读 · 0 评论 -
Install and set up Gitlab CI Runner to use Docker
1.Install GitLab Runner2. Register the runner3. Install docker, set up privileges.4. Register multiple runners and make them run builds concurrently.原创 2016-03-29 03:15:48 · 917 阅读 · 0 评论 -
Windows系统上3种连接Docker虚拟机的方法
连接到Docker machine用户名: docker密码: tcuser1. Docker Quickstart Terminal2. GitBash3. Powershell / CMD原创 2016-02-22 10:27:52 · 9887 阅读 · 1 评论 -
Docker 命令行汇总
1.General Docker command2.Containers3.Images4.docker-compose原创 2016-02-28 20:57:26 · 692 阅读 · 0 评论 -
Docker - SSH to Docker Machine - remote host identification has changed!
SSH to Docker Machine - remote host identification has changed!原创 2016-02-28 20:59:33 · 908 阅读 · 0 评论 -
Docker - How to Connect to a MySQL Running Container Using MySQL Command Line Client
We used the official mysql image from Docker Hub (https://hub.docker.com/_/mysql/), and created a running database container. And we need to connect to the MySQL database using MySQL command line client.1. Get container_name, image_name, mysql_port_number原创 2016-02-28 21:02:19 · 1333 阅读 · 0 评论 -
Consul & Registrator & Rails Service all together in separate Docker container
1.Start a container running Consul2.Start a container running Registrator3. Start a web service and let Registrator automatically register it on Consul4. Find the IP address and port of the service from Consul UI, and start using the service原创 2016-04-23 21:37:01 · 5742 阅读 · 0 评论