Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
18bf12bfde | |||
d829482a06 | |||
86c6389650 | |||
991e28046d | |||
ccbc73c6bc | |||
246c7366ba | |||
762e2ec07b |
22
README.md
22
README.md
@ -716,6 +716,8 @@ eval $(docker-machine env)
|
|||||||
|
|
||||||
**On Windows & MAC:**
|
**On Windows & MAC:**
|
||||||
|
|
||||||
|
Run this command in your terminal:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-machine ip default
|
docker-machine ip default
|
||||||
```
|
```
|
||||||
@ -723,30 +725,20 @@ If your Host name is different then `default`, you have to specify it (`docker-m
|
|||||||
|
|
||||||
*(The default IP is 192.168.99.100)*
|
*(The default IP is 192.168.99.100)*
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
> **boot2docker** users: run `boot2docker ip` *(when boot2docker is up)*.
|
> **boot2docker** users: run `boot2docker ip` *(when boot2docker is up)*.
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
**On Linux:**
|
**On Linux:**
|
||||||
|
|
||||||
1 - Run `ifconfig` in the terminal.
|
Run this command in your terminal:
|
||||||
|
|
||||||
2 - In the result search for `docker0`, your IP address will be next to `inet addr`.
|
|
||||||
|
|
||||||
Example: (In this example your IP address is `172.17.0.1`).
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker0 Link encap:Ethernet HWaddr 02:42:41:2d:c4:24
|
ifconfig docker0 | grep 'inet' | cut -d: -f2 | awk '{ print $1}' | head -n1
|
||||||
inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0
|
|
||||||
UP BROADCAST MULTICAST MTU:1500 Metric:1
|
|
||||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
|
||||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
|
||||||
collisions:0 txqueuelen:0
|
|
||||||
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
|
|
||||||
```
|
```
|
||||||
>If you have an easier way to do it, share it with us.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*(The default IP is 172.17.0.1)*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ RUN add-apt-repository -y \
|
|||||||
ppa:ondrej/php
|
ppa:ondrej/php
|
||||||
|
|
||||||
# Install PHP-CLI 7, some PHP extentions and some useful Tools with APT
|
# Install PHP-CLI 7, some PHP extentions and some useful Tools with APT
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y --force-yes \
|
||||||
php7.0-cli \
|
php7.0-cli \
|
||||||
php7.0-common \
|
php7.0-common \
|
||||||
php7.0-curl \
|
php7.0-curl \
|
||||||
@ -33,6 +33,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
php7.0-sqlite \
|
php7.0-sqlite \
|
||||||
php7.0-sqlite3 \
|
php7.0-sqlite3 \
|
||||||
php7.0-zip \
|
php7.0-zip \
|
||||||
|
php7.0-memcached \
|
||||||
sqlite3 \
|
sqlite3 \
|
||||||
libsqlite3-dev \
|
libsqlite3-dev \
|
||||||
git \
|
git \
|
||||||
|
Reference in New Issue
Block a user