Thanks to antville.org
apache docker container issues

If apache docker container does not start then make these changes...

vi /etc/sysctl.conf
net.ipv4.ip_forward = 1
fs.file-max = 50000000

Reboot or restart service:
sysctl -p

... Link (5 comments) ... Comment


docker and aws

Before starting docker daemon, add the aws credentials.

vi /etc/init/docker.override

env AWS_ACCESS_KEY_ID=
env AWS_SECRET_ACCESS_KEY=

... Link (0 comments) ... Comment


start with docker

create a docker file

vi dockerfile

COPY php.ini /usr/local/etc/php/

FROM php:5.6-apache
COPY adminer.php /var/www/html/
RUN chmod -R 777 /var/www/html/

build an image

docker build -t my-php-app .

run an image

docker run -d -p 80:80 --name myapp my-php-app

docker run -it --rm --name my-running-app my-php-app

... Link (0 comments) ... Comment


docker command examples

options for running docker

docker run -d --name abcd2 -p 23:23 -v /var/lib/mysql tutum/ubuntu:trusty

docker run -d --volumes-from abcd2 -p 3306:3306 tutum/mysql:5.5

docker run -d --name abcd5 -p 24:24 -v /var/lib/mysql ubuntu:trusty

docker run -d --volumes-from abcd5 -p 3306:3306 mysql:5.5

docker run -d -v /path/in/host:/var/lib/mysql tutum/mysql /bin/bash -c "/usr/bin/mysql_install_db"

docker run -d -p 3306:3306 -v /path/in/host:/var/lib/mysql tutum/mysql

docker run -d -p 3301:3306 --cpu-shares=512 --blkio-weight=250 --memory=512M --cpuset-cpus=0 -v ~/mdbdata/mdb55:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=admin --name mdb55 mariadb:5.5

start docker with host address

/etc/init.d/docker start -H tcp://0.0.0.0:2375

... Link (0 comments) ... Comment


Start 2 containers at once

Here is how you can start neo4j as well as scipy notebook.

vi docker-compose.yml

neo4j:
image: kbastani/docker-neo4j:latest
ports:

- "7474:7474"  
- "1337:1337"    

volumes:

- /opt/data   

jupyterscipy:
image: jupyter/scipy-notebook
ports:

- "8888:8888"    

links:

- neo4j:neo4j    

volumes:

- .:/home/jovyan/work  

docker-compose up -d

... Link (0 comments) ... Comment


Online for 6268 days
Last modified: 10/22/19 2:54 AM
Status
Youre not logged in ... Login
Menu
... Home
... Tags

Search
Calendar
October 2019
SunMonTueWedThuFriSat
12345
6789101112
13141516171819
20212223242526
2728293031
September
Recent updates
This is nice. At least
I've found a nice blog like this... Worth reading....
by casseverhart13 (10/22/19 2:54 AM)
check out the new
stuff you post in the future! magician Philadelphia
by casseverhart13 (10/21/19 5:03 AM)
Hope to read another
kind of article like this. pressure washing Gainesville
by casseverhart13 (10/18/19 4:35 AM)
Real Human Website Traffic -
The short answer is that it is #traffic that...
by webvisitors (10/17/19 10:01 PM)
Great! Thanks for sharing your
post, it seems really interesting to read. I hope to...
by Anna0203 (10/17/19 7:32 PM)
Great Thanks for posting this
one. :) commercial window cleaning cincinnati ohio
by brielleluna (10/17/19 7:27 PM)
Nice Since then, I always
check your article because it was really an informative one....
by Meggy27 (10/17/19 3:52 PM)
I hope you continue
writing about this kind of entry. carpet steam cleaner
by casseverhart13 (10/17/19 10:15 AM)
It's my pleasure to find
this amazing website who provides mostly unseen information about...
by casseverhart13 (10/17/19 5:26 AM)
Did you know that many
company Buy Website Traffic that is driven to their...
by webvisitors (10/17/19 2:28 AM)
USA State Targeted Traffic you
can isolate marketing efforts with a specific state, or...
by webvisitors (10/17/19 1:20 AM)
Want to work with a
reputable company with countless return customers? Talk to us...
by webvisitors (10/17/19 1:19 AM)
Weekly Email Notification enable Weekly
Email Notification from the Trusted Advisor. 1) Open the AWS...
by shantanuo (10/16/19 3:14 PM)
If most of your customers
are from Texas, don't waste time and money marketing...
by webvisitors (10/15/19 5:52 PM)
Buy Website Traffic - Expand
your reach! Give prospects nationwide exposure to your products...
by webvisitors (10/15/19 5:47 PM)
I hope you continue
writing about this kind of entry. Tree Solutions Hunter's Creek
by casseverhart13 (10/15/19 11:19 AM)
Great blog you have here
but I was wondering if you knew of any...
by casseverhart13 (10/15/19 5:17 AM)
Buy Website Traffic - Expand
your reach! Give prospects nationwide exposure to your products...
by webvisitors (10/15/19 12:43 AM)
Buy Website Traffic - Expand
your reach! Give prospects nationwide exposure to your products...
by webvisitors (10/15/19 12:42 AM)
Buy Website Traffic - Expand
your reach! Give prospects nationwide exposure to your products...
by webvisitors (10/15/19 12:42 AM)
Buy Website Traffic - Expand
your reach! Give prospects nationwide exposure to your products...
by webvisitors (10/15/19 12:42 AM)
Buy Website Traffic - Expand
your reach! Give prospects nationwide exposure to your products...
by webvisitors (10/15/19 12:41 AM)
Buy Website Traffic - Expand
your reach! Give prospects nationwide exposure to your products...
by webvisitors (10/15/19 12:41 AM)
Targeted Web Traffic If you
want the best, come to the best! Based in the...
by webvisitors (10/15/19 12:31 AM)
Prevol Financiera However, this method
of cashless electronic payment transaction has strings attached in terms...
by saeedkhatri (10/14/19 8:33 AM)

RSS feed

Made with Antville
Helma Object Publisher