BikeBike Docker Container Image for the Yellow Bike Database
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Jonathan Rosenbaum 2786df15fc Update README.md 10 years ago
Dockerfile Lots of dev with transactions, and updated population file. 10 years ago
LICENSE Initial commit 10 years ago
README.md Update README.md 10 years ago
YBDB.php Finally available to the general public. 10 years ago
apache2.conf Finally available to the general public. 10 years ago
mysql.conf Finally available to the general public. 10 years ago
populate.sql Adds another default value for volunteer shops. 10 years ago

README.md

#YBDB

BikeBike Docker Container Image for Yellow Bike Dabtabase

Yellow Bike Project's Hours and Transaction Database.

Heavily developed YBP Devel is being utilized.

##Pull the repository

docker pull bikebike/ybdb

##Run the docker container

Publish the container's port to the host:

format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort

docker run -d -p 81:80 --name="ybdb" bikebike/ybdb

###Status

Needs to have the database populated.

##How to test/develop inside the running container process

This method uses nsenter. Check out jpetazzo/nsenter on GitHub.

sudo PID=$(docker inspect --format {{.State.Pid}} <container_name_or_ID>)
sudo nsenter --target $PID --mount --uts --ipc --net --pid