bolkedebruin / rdpgw

Remote Desktop Gateway in Go for deploying on Linux/BSD/Kubernetes
Apache License 2.0
793 stars 120 forks source link

Installation on Ubunutu docker #127

Open LukeSkywalker993 opened 1 month ago

LukeSkywalker993 commented 1 month ago

Hello,

I am quite new to the Linux world and came from Windows. I have installed Docker on Ubuntu and already have various containers running.

I intend to publish the rdpgw via nginx. Unfortunately, I can't get it to work, even though I have installed it.

I took the docker-compose.yml from GitHub and placed it in my own folder. Unfortunately, the installation doesn't work.

Does anyone have a step-by-step guide on how to install this using the docker-compose.yml?

Unfortunately, I couldn't find a video about it on YouTube either :-)

Thank you!

docker@docker02:~/docker/rdpgw$ docker-compose up -d [+] Building 0.2s (2/2) FINISHED docker:default => [rdpgw internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 2B 0.0s => [rdpgw internal] load .dockerignore 0.1s => => transferring context: 2B 0.0s failed to solve: failed to read dockerfile: open /var/snap/docker/common/var-lib-docker/tmp/buildkit-mount1841525942/Dockerfile: no such file or directory docker@dwverdocker02:~/docker/rdpgw$

docker@dwverdocker02:~/docker/rdpgw$ docker-compose pull [+] Pulling 3/3 ✔ rdpgw Skipped - No image to be pulled 0.0s ✔ keycloak Pulled 1.6s ✔ xrdp Pulled 1.6s docker@docker02:~/docker/rdpgw$

on a new server debian server with docker-ce: WARN[0000] /docker-compose/rdpgw/docker-compose.yml: the attributeversionis obsolete, it will be ignored, please remove it to avoid potential confusion [+] Running 13/13 xrdp Pulled 66.0s 952b15bbc7fb Pull complete 3.0s d09c90d58a8e Pull complete 63.6s 972b4726f63a Pull complete 63.9s 513713feca99 Pull complete 64.0s 56450129bf69 Pull complete 64.1s db8a6553e518 Pull complete 64.3s 2c177eff1635 Pull complete 64.4s keycloak Pulled 24.5s 55360c0b72d6 Pull complete 3.4s 286aff21b23c Pull complete 16.3s 0629cb44ff17 Pull complete 22.1s 6825ffc3cd77 Pull complete 22.2s [+] Building 0.4s (1/1) FINISHED docker:default => [rdpgw internal] load build definition from Dockerfile 0.2s => => transferring dockerfile: 2B 0.0s failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory root@DWVERDOCKER02:/docker-compose/rdpgw#

grafik

firmanalams commented 5 days ago

You can run the docker-compose from this project folder dev/docker. Because you need the Dockerfile from that folder