Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farhaanbukhsh/dockerfiles
https://github.com/farhaanbukhsh/dockerfiles
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/farhaanbukhsh/dockerfiles
- Owner: farhaanbukhsh
- Created: 2016-10-23T10:25:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-28T09:22:05.000Z (about 8 years ago)
- Last Synced: 2023-12-15T10:14:41.307Z (11 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerfiles
## Jupyter
Command to build container:
`sudo docker build -t "python-tool:0.0.1" --rm=true --no-cache . `
Command to run the `container` and mount the working directory:
`sudo docker run --rm --name "python-tools" -it -p 8888:8888 -v "$PWD":/project python-tool:0.0.1 bash`
Inside the container run :
`jupyter-notebook --ip=0.0.0.0 --no-browser`
Page will be served on `localhost:8888`
## Pagure
- Clone pagure on the machine
- Add this `Dockefile` in the same repo
- Then run the docker build command mention in the file
- Run the `docker` container as:
`sudo docker run --rm --name "pagure" -it -p 5000:5000 pagure:0.0.1 bash`
- Inside the container run `./runserver.py --host 0.0.0.0`