-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
42 lines (28 loc) · 861 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
== Simple Docker ==
docker run centos:6 cat /etc/redhat-release
docker run -ti centos:6 bash
== Docker Hub ==
docker pull ubuntu
docker run -ti ubuntu bash
apt-get update
apt-get install figlet
figlet phpDublin.com
docker commit -m 'figlet app' -a 'Ricardo Melo' 7c367550ba16 rjsmelo/figlet-phpdublin
docker push rjsmelo/figlet-phpdublin
== Fig up ==
docker-compose build
docker-compose up
docker-compose up -d
browser (fireproxy) -> x.p55 -> x.p56 -> x.p70
== Wordpress ==
untgz wordpress
docker-compose run php55 bash
mysql -h mysql -u root -p
create database wordpress;
- install using interface
cd /Users/rmelo/work/docker/php-dublin/sites/wordpress/wp-content/themes/twentysixteen/
vim header.php (search get_header_image)
<h1 style="background-color:red;"><?php echo phpversion(); ?></h1>
== Cleanup ==
docker-compose kill
docker-compose rm