Compose file version 3 reference

2019-04-15 18:34:07

Reference and guidelinesThese topics describe version 3 of the Compose file format. This is the newest version.Compose and Docker compatibility matrixThere are several versions of the Compose file format – 1, 2, 2.x, and 3.x. The table below is a quick look. For full details on what each

Dockerfile编写参考手册

2019-04-15 18:25:07

Docker can build images automatically by reading the instructions from a Dockerfile. A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. Using docker build users can create an automated build that executes several command-line instructions in

(Untitled)

2019-04-15 18:08:28

这是一个测试! #!/bin/bash if i in test; fi 字体测试 this is test!

Docker+Apache+Php+Oci8+Mantis

2019-04-07 15:31:32

因为工作需要,需要部署一个BUG系统!最后选用的Mantis。然后将数据库采用项目系统所用的Oracle测试库,之前部署的是apache+php5+oci8,但是安全组扫描时发现因部署后一直没有升级的原因,php存在漏洞,想趁着这次升级干脆改成Docker。重新安装CentOS7 1804后,安装Docker,pull了php+apache的镜像:FROM php:7.3-apache RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime &&\ echo "Asia/shanghai" > /etc/timezone ADD oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm /root/ ADD oracle-instantclient11.2-devel-11.

Docker-Compose参数检索

2019-04-05 01:25:23

Define and run multi-container applications with Docker. Usage: docker-compose [-f <arg>...] [options] [COMMAND] [ARGS...] docker-compose -h|--help Options: -f, --file FILE Specify an alternate compose file (default: docker-compose.yml) -p, --project-name NAME Specify an alternate project name (default: directory name) --verbose Show more output --log-level LEVEL Set log

Linux Shell 命令检索

2019-04-01 08:39:41

############################################################################## # 常用快捷键(默认使用 Emacs 键位) ############################################################################## CTRL+A # 移动到行首,同 <Home> CTRL+B # 向后移动,同 <Left> CTRL+C # 结束当前命令 CTRL+D # 删除光标前的字符,同 <Delete> ,或者没有内容时,退出会话 CTRL+E # 移动到行末,同 <End> CTRL+F # 向前移动,同 <Right> CTRL+G # 退出当前编辑(比如正在 CTRL+R

Docker命令检索

2019-03-31 14:27:09

ps aux |grep docker systemctl start docker docker --help #test highlight if i=1 then echo "Good!" else i++ fi Options: --config string Location of client config files (default "/root/.docker") -D, --debug Enable debug mode -H, --host list Daemon socket(s) to connect to -l,