Docker Tips - Full Ubuntu in a Container using XRDP on Windows (2022)

preview_player
Показать описание
Run Ubuntu Desktop Environment in a Docker Container and Display on Windows using XRDP.
WANT TO SUPPORT?

---
00:00 Introduction
01:24 Build Lubuntu Docker Image from scratch
04:00 Connect to Lubuntu Desktop Container
04:48 Testing Lubuntu Apps in Docker Container
06:01 Build Ubuntu Desktop Image from scratch
07:25 Connect to Ubuntu Desktop Container
07:46 Testing Ubuntu Apps in Docker Container
08:58 Conclusion
---

▶️ Full Ubuntu GUI in a Container on Windows:

▶️ GUI Apps in a Linux Container on Windows:

📝 Dockerfiles:

●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
👨‍👩‍👧‍👦 Social:
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
🎮🕹️🐭 Snappy Mouse Run:
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●

#linux #docker #xrdp
Рекомендации по теме
Комментарии
Автор

Wow! Very informative and straight to the point. I am hoping you get 1K subscribers soon.

rhymekidstv
Автор

The container is not running (Exited (0)), the CMD seems to not be correct. Also, a version with Xubuntu would be a good addition.

incoming-th
Автор

RDP did not work for me until I used 3388 as the host/local port mapping it to the container port 3389. Was not able to login properly to the container after so I'm still not able to fully test but a good video. Just need a few tweaks.

TheSQLPro
Автор

I also needed to install "dbus-x11" as well. Modify this line on the Dockerfile:
RUN apt update && apt install -y ubuntu-desktop dbus-x11

saberhayati
Автор

Hello! Thank you for this amazing tutorial! Does this work for other distro images as well?

npc-chess-player
Автор

Hi, I do all first steps, but the problem is when try to run the container by press play on the containers section in desktop docker in win11, it's direct stop ( not launch & open RDP Connection) how can resolve this issue .

afifnassar
Автор

container start and exited, so can not connect.

Sean-bolb
Автор

I need to snap top to bottom WITHIN a Windows screen. I can't find anything to let me snap, roll over, or even a mouse trick to jump across screen (top to bottom). I spend a lot of time signing forms that require select on top, scroll down, sign, back to top. Help?

jamesx
Автор

Not able to connect remotely, windows error says that console session is in progress so there is no way to get another console session to the remote computer.

ForgottenHero
Автор

And you can show which parameters gnome_shell_session и xdg
use with xfce? Thank you in advance.

МоревНиколай-шщ
Автор

hello, could you help me... I did everything according to the video but I have the error below at login time... it shows the login screen right after it closes and does nothing else and presents this error:

claudneysartisessa
Автор

Hello i cant open terminal in xrdp ubuntu
how to open it?

신현석-zp
Автор

I could not get xrdp up and listening with systemd. Although the container was up, xrdp never started.

vmsman
Автор

I couldn’t get it to work on Azure container instance.

AyanMullick
Автор

Adding this line to the docker file RUN apt update && apt install -y ubuntu-desktop dbus-x11 and mapping port 4040 to 3389 by starting from the termimal docker run -it -p 4040:3389 --name my_os myos has solved it. Starting from the GUI Docker desktop exits immediately, unknown reason. But for now it works

tkoster
Автор

Is this using your local machine hardware ? let's say I want to install a software that uses a good amount of GPU, will it work on the docker container ?

fadi
Автор

Hi That was awesome, I would like to know how to build a Linux based docker image which is capable of taking RDP session of a windows virtual machine. If you can help me that would be great :)

lalittbhatt
Автор

how to use this compose file on portaniner ??

antokjawa
Автор

can you show how to run ubuntu through cloud through a website

hiteshchaudhari
Автор

docker run -it -d --name=mydesktop -p 3389:3389 docker-xrdp-ubuntu:latest --- should work without breaking exiting it

kazim