From d59237c20ed0d718083b254ddca1fd5fd529fab5 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Fri, 8 Sep 2017 22:59:10 -0400 Subject: [PATCH] Update README.md --- README.md | 32 +++----------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 3231974..ad29053 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,10 @@ -#Bike Database +# Bike Database **BikeBike Docker Container Image for Bike Database** The [Bikes and Clients database](https://github.com/Loos/bike-database) is used by [Recyclery](http://therecyclery.org/) staff and volunteers to track bikes and by our partner organizations to request a free bike for their clients. -##Pull the repository - -``` -docker pull bikebike/bike-database -``` - - -##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=bike-database" bikebike/bikedatabase ``` - -##Password - -Password is **Coming Soon** for **Coming Soon** and **Coming Soon**. - - -##How to test/develop inside the running container process - -This method uses [nsenter](http://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/). Check out [jpetazzo/nsenter](https://github.com/jpetazzo/nsenter) on GitHub. - +docker-compose build +docker-compose up -d ``` -sudo PID=$(docker inspect --format {{.State.Pid}} ) -sudo nsenter --target $PID --mount --uts --ipc --net --pid