If you see something like: 1root@example.com:/etc/apache2/sites-enabled# ifconfig 2docker0 Link encap:Ethernet HWaddr 02:42:8e:e1:53:84 3inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 4UP BROADCAST MULTICAST MTU:1500 Metric:1 5RX packets:0 errors:0 dropped:0 overruns:0 frame:0 6TX packets:0 errors:0 dropped:0 …
Read MoreGiven these: 1[root@selenium php-5.1.2]# docker ps -a 2CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 37e89768a78f9 e9a68b923b81 "/bin/sh -c 'makepkg…" 7 minutes ago Exited (1) 4 minutes ago nostalgic_lovelace 4af5262bdb8c1 selenium/node-chrome:2.53.1-beryllium "/opt/bin/entry_poin…" 4 weeks …
Read More1docker run -d --name redisDynamic -p 6379 redis:latest this will bind though to host port at random. To check bound port, use 1docker port redisDynamic 6379
Read More1# Build an image using the Dockerfile at current location (specified by '.' at the end) 2# Example: docker build -t [name] . 3docker build -t my_mongodb . To create a Dockerfile, see https://www.digitalocean.com/community/tutorials/docker-explained-using-dockerfiles-to-automate-building-of-images
Read MoreAdd this to Dockerfile 1RUN docker-php-ext-install mysqli See details in https://github.com/docker-library/php/issues/279
Read More