Rather than communicating the mess below to my users... is there a way I can somehow pair a `docker-compose.yml` file with my DockerHub image so that it automagically runs?

I would swap out the `<VALUES>` with arguments passed to `up`.

---

> 
> Create a file named `docker-compose.yml` and open it with a text editor (nano or SublimeText). 
> 
> 
> 

```
$ touch docker-compose.yml
$ nano docker-compose.yml

```

> 
> Paste the text below into that file. Be sure to swap in your path from earlier into the `volumes` key.
> 
> 
> 

```
#docker-compose.yml
version: "3"
services:
  jupyter:
    image: "hashrocketsyntax/gorpyter:notebook"
    ports:
      - "8888:8888"
    volumes:
      - <PATH_TO_YOUR_NEW_FOLDER>:/home/jovyan
    environment:
      - JUPYTER_ENABLE_LAB=yes
      - R_HOME=/opt/conda/lib/R

```

> 
> Make sure you are in the same directory as the .yml file and run it like so.
> 
> 
> 

```
$ docker-compose up

```