Erik Lilja

Results 61 comments of Erik Lilja

So I randomly looked into this thread and felt a bit bored and decided to create my first vim plugin. It solves this problem by getting the current PID of...

[Looks to be](https://i.imgur.com/5fpykwC.png) working great! Thanks for your help 😃 A bit unrelated but is this the correct syntax for getting the machine id as an environmental variable? I think...

``` duplicacy: image: "erichough/duplicacy:1.1.0" container_name: duplicacy env_file: - secrets/file-permissions.env environment: MACHINE_ID: some-random-string cap_drop: - ALL user: '1000:1000' ports: - 3875:3875 restart: always volumes: #- "/machine-id.txt:/var/lib/dbus/machine-id:ro" - "/etc/localtime:/etc/localtime:ro" - "/etc/timezone:/etc/timezone:ro" ```...

Thanks again, appreciate it!

I spoke too soon, the container actually is not responding to my http calls. ``` lilja@devnode:~/homelab$ make stop-containers && make build^C lilja@devnode:~/homelab$ curl http://localhost:3875 curl: (52) Empty reply from server...

~Perhaps related?~ ``` lilja@devnode:~/homelab$ docker exec -it duplicacy /bin/sh / $ whoami whoami: unknown uid 1000 ```

I don't think the above is related. Something in the image seems fishy: I changed the image from `erichough/duplicacy:1.1.0` to `python:3.7-slim` And added the command: `python3 -m http.server 3875 --bind...

I managed to reduce it ``` test2: image: "erichough/duplicacy:1.1.0" cap_drop: - ALL user: '1000:1000' container_name: test2 ports: - 3875:3875 restart: always environment: TZ: America/New_York MACHINE_ID: 4c601d79a045519397ade28a2f79e3d3 ``` ``` lilja@devnode:~/homelab$ docker...

I `docker exec -it duplicacy /bin/sh` into the container. It seems like there some issue with that it binds to `127.0.0.1` instead of `0.0.0.0`. It's like the image doesn't have...

Also needs requirements to build.