Docker Tips - Ubuntu Cinnamon in a Container on Windows (2023)

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

---
00:00 Introduction
01:27 Build Cinnamon Docker Image from scratch
03:52 Run Default Cinnamon Desktop Container
06:58 Testing Apps in Cinnamon Docker Container
07:46 Build Ubuntu Cinnamon Docker Image from scratch
08:08 Run Ubuntu Cinnamon Desktop Container
10:18 Conclusion
---

▶️ Full Ubuntu in a Container using XRDP:

▶️ VNC vs RDP Performance Comparison :

▶️ Ubuntu Weston Container using RDP

📝 Dockerfiles:

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

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

Unfortunately, this doesn't work at all on my Win11!
1. In Docker Desktop, the container exits immediately, regardless of "bash" or anything else as last CMD in the dockerfile. Only stays running if I do "docker run -it docker-cinnamon /bin/bash" from Powershell (note that executing /bin/bash keeps the container running)
2. RDP doesn't connect. It says "another connection is already active". The helppage from Microsoft suggests to look for other apps using port 3389. Well, yes, docker is using it, thanks to the mapping ("-p 3389:3389" in "docker run" command). Using another port doesn't work either - RDP won't find it.
3. TightVNC exits immediately: "connection has been gracefully closed". Do you have a suggestion where to find any logs for TightVNC (Viewer side on Windows) or TigerVNC (server-side, in the container)?
Using the container's bash, "ps aux" also only shows bash and ps as processes - nothing else, so no TigerVNC or anything

berndwacke
Автор

Your tutorial looks great, but I am never managing to get GUI with your videos using Docker on Windows.
I have both XServer installed + also TigerVNC. And there is no way to make it work.
In the log I always have an issue with tmp/.X11
Any hints ?

ilyasrayan
Автор

Bro amazing video but I need a way to make multiple docker containers like this in ubuntu and access them from vps ip
I can forward the ip to a domain using nginix proxy manger to access the container for webtop


Please make a video or tell what to do to achieve this

ardenswirl