https://github.com/softwareqinc/docker_images
softwareQ tools Docker image(s)
https://github.com/softwareqinc/docker_images
Last synced: 5 months ago
JSON representation
softwareQ tools Docker image(s)
- Host: GitHub
- URL: https://github.com/softwareqinc/docker_images
- Owner: softwareQinc
- License: mit
- Created: 2021-11-23T21:02:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-03T21:57:00.000Z (about 2 years ago)
- Last Synced: 2025-02-01T11:12:17.259Z (over 1 year ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 51.8 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker_images
Docker image(s) for softwareQ tools
## Installation
First install [Docker](https://www.docker.com/get-started), then clone this
repository and
`cd` into it by executing
```shell
git clone https://github.com/softwareqinc/docker_images && cd docker_images
```
Next build the image by executing
```shell
docker build -t softwareq-tools .
```
---
Run the Jupyter server in a container by executing
```shell
docker run -p8890:8890 -it --workdir=/home/sq/notebooks softwareq-tools sh -c ". ~/venv/bin/activate && jupyter notebook --port=8890 --no-browser --ip=0.0.0.0"
```
The output of the `docker run` command should be similar to
> To access the server, open this file in a browser:
>
> file:///home/sq/.local/share/jupyter/runtime/jpserver-7-open.html
> Or copy and paste one of these URLs:
>
> http://c19114f6e736:8890/tree?token=2412fa2d0a9a4b1ad79528715ed41db3c251f393de7d213d
>
> http://127.0.0.1:8890/tree?token=2412fa2d0a9a4b1ad79528715ed41db3c251f393de7d213d
To connect to the Jupyter environment, launch a browser at one of the hyperlinks
produced by `docker run`, which should be similar to the ones above (the token
value will of course be different in your case).
See
the [notebooks](https://github.com/softwareQinc/docker_images/tree/main/notebooks)
directory for Jupyter Notebook examples.
---
In case you want to use the Docker container as a development environment, mount
your directory (in this case the current directory) in a Docker container with
```shell
docker run --rm -it --workdir=/home/sq/hostdir -v ${PWD}:/home/sq/hostdir softwareq-tools /bin/bash
```