docker-compose.yml file? #20

Closed
opened 2025-12-28 23:21:18 +01:00 by adam · 7 comments
Owner

Originally created by @ralyodio on GitHub (Jun 8, 2020).

Can we get an out of the box working docker-compose.yml and Dockerfile?

Originally created by @ralyodio on GitHub (Jun 8, 2020). Can we get an out of the box working docker-compose.yml and Dockerfile?
adam closed this issue 2025-12-28 23:21:18 +01:00
Author
Owner

@sickcodes commented on GitHub (Jun 8, 2020):

There’s a Dockerfile already in the repo.

I haven’t written a docker-compose.yml before, wouldn’t it be company specific?

Can you show me and example of one you think it should look like?

@sickcodes commented on GitHub (Jun 8, 2020): There’s a Dockerfile already in the repo. I haven’t written a docker-compose.yml before, wouldn’t it be company specific? Can you show me and example of one you think it should look like?
Author
Owner

@sickcodes commented on GitHub (Jun 8, 2020):

Have you ran the VNC version? You can detach that one, runs out of the box, no need to worry about displays.

@sickcodes commented on GitHub (Jun 8, 2020): Have you ran the VNC version? You can detach that one, runs out of the box, no need to worry about displays.
Author
Owner

@parasquid commented on GitHub (Jun 8, 2020):

funnily enough, I wrote one just now (was searching for a way to automate the build).

version: '3.1'

services:
  osx:
    image: sickcodes/docker-osx
    privileged: true
    environment:
      DISPLAY: ${DISPLAY:-:0.0}
    network_mode: "host"
    cap_add:
      - ALL
    volumes:
      - ./tmp/.X11-unix:/tmp/.X11-unix

This builds on one of the closed issues https://github.com/sickcodes/Docker-OSX/issues/1 so it includes the cap and the net portions that's not in the current readme.(didn't see it before) I'm running pop os 20.04 if that matters.

@parasquid commented on GitHub (Jun 8, 2020): funnily enough, I wrote one just now (was searching for a way to automate the build). ``` yaml version: '3.1' services: osx: image: sickcodes/docker-osx privileged: true environment: DISPLAY: ${DISPLAY:-:0.0} network_mode: "host" cap_add: - ALL volumes: - ./tmp/.X11-unix:/tmp/.X11-unix ``` This builds on one of the closed issues https://github.com/sickcodes/Docker-OSX/issues/1 so it includes the `cap` and the `net` portions ~that's not in the current readme.~(didn't see it before) I'm running pop os 20.04 if that matters.
Author
Owner

@parasquid commented on GitHub (Jun 8, 2020):

This is generally how it looks like:
Screenshot from 2020-06-08 13-25-08

@parasquid commented on GitHub (Jun 8, 2020): This is generally how it looks like: ![Screenshot from 2020-06-08 13-25-08](https://user-images.githubusercontent.com/185592/83995246-83806700-a98b-11ea-94c2-286821692e89.png)
Author
Owner

@parasquid commented on GitHub (Jun 8, 2020):

One advantage of using docker-compose is that if you run docker-compose up on the same docker-compose.yml file it will bring up the same container (no need to start the docker image manually as in the readme)

@parasquid commented on GitHub (Jun 8, 2020): One advantage of using docker-compose is that if you run `docker-compose up` on the same docker-compose.yml file it will bring up the same container (no need to start the docker image manually as in the readme)
Author
Owner

@sickcodes commented on GitHub (Jun 8, 2020):

Right! So no more docker ps bash commands? Do you mind if I integrate the file you commented? Or do you want to write a pull request?

@sickcodes commented on GitHub (Jun 8, 2020): Right! So no more docker ps bash commands? Do you mind if I integrate the file you commented? Or do you want to write a pull request?
Author
Owner

@parasquid commented on GitHub (Jun 8, 2020):

PR is here https://github.com/sickcodes/Docker-OSX/pull/25 :)

@parasquid commented on GitHub (Jun 8, 2020): PR is here https://github.com/sickcodes/Docker-OSX/pull/25 :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#20