Sign inSign up

mscrnt/ubuntu-desktop

By mscrnt

Updated 4 months ago

Ubuntu 22.04 Remote Desktop with VSCode, Firefox, Python 3.10, CUDA, OBS Studio, and essential tools

Image
2

3.0K

mscrnt/ubuntu-desktop repository overview

Developer Environment Docker

This Docker container provides a ready-to-use development environment based on Ubuntu 22.04 with the following tools pre-installed:

  • NVIDIA Driver 530
  • CUDA 11.7
  • OBS Studio
  • Firefox
  • Visual Studio Code
  • Python 3.10
  • OpenSSH Server
  • TigerVNC
  • XRDP
  • VLC
  • Tmux
  • Nano
  • Git
  • Curl
  • FFMpeg
  • Htop
  • XFCE desktop environment

Prerequisites

  • Docker installed on your machine.
  • NVIDIA Container Toolkit installed on your machine.

Getting Started

  1. Pull the Docker image from Docker Hub:
docker pull mscrnt/ubuntu-desktop:latest
  1. Run the Docker container:

Replace <USERNAME>, <PASSWORD>, and <VNCPASSWORD> with the desired values.

docker run -it -p 5901:5901 -p 3389:3389 -p 22:22 -e USER=\<USERNAME> -e PASSWORD=\<PASSWORD> -e VNCPASSWORD=\<VNCPASSWORD> mscrnt/ubuntu-desktop:latest
  1. Access the container:
  • VNC: Use a VNC client to connect to `localhost:5901` with the VNC password you provided.
  • RDP: Use a remote desktop client to connect to `localhost:3389` with the username and password you provided.
  • SSH: Use an SSH client to connect to `localhost:22` with the username and password you provided.
  1. Use Docker Compose file:

Create a docker-compose.yaml file with the following content:

version: "3.8"
services:
  ubuntu-desktop:
    container_name: ubuntu-desktop-container
    image: mscrnt/ubuntu-desktop:latest
    environment:
      - USER=
      - PASSWORD=
      - VNCPASSWORD=
    ports:
      - "22:22"
      - "5901:5901"
      - "3389:3389"
    volumes:
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all

Fill in the blanks in the docker-compose.yaml file:

  • USER: The username for the container user
  • PASSWORD: The password for the container user .
  • VNCPASSWORD: The VNC password for the container user

Tag summary

Content type

Image

Digest

sha256:690c2546f

Size

843.2 MB

Last updated

4 months ago

docker pull mscrnt/ubuntu-desktop