BikeBike Docker Container Image for freehub
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 3a677473df Update README.md 10 years ago
Dockerfile Freehub Docker Image initial commit. 10 years ago
LICENSE.md Create LICENSE.md 10 years ago
README.md Update README.md 10 years ago
freehub.conf Freehub Docker Image initial commit. 10 years ago
mysql.conf Freehub Docker Image initial commit. 10 years ago

README.md

#freehub

BikeBike Docker Container Image for freehub

Freehub is a member and shop visit application implemented in Rails by the San Francisco Bike Kitchen.

##Pull the repository

docker pull bikebike/bikebike

##Run the docker container

Publish the container's port to the host:

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

docker run -d -p 3000:3000 --name="freehub" bikebike/freehub

##Password

Password is test for greeter, sfbk, mechanic, scbc, cbi, admin.

##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