Giter Site home page Giter Site logo

robertobernabe / docker-remote-desktop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scottyhardy/docker-remote-desktop

0.0 0.0 0.0 2.66 MB

Docker image for Remote Desktop server with audio support

License: MIT License

Shell 50.73% Dockerfile 49.27%

docker-remote-desktop's Introduction

docker-remote-desktop

build

Docker image with RDP server using xrdp on Ubuntu with XFCE.

Images are built weekly using the Ubuntu Docker image with the 'latest' tag.

Running manually with docker commands

Download the latest version of the image:

docker pull scottyhardy/docker-remote-desktop

To run with an interactive bash session:

docker run -it \
    --rm \
    --hostname="$(hostname)" \
    --publish="3389:3389/tcp" \
    --name="remote-desktop" \
    scottyhardy/docker-remote-desktop:latest /bin/bash

To start as a detached daemon:

docker run --detach \
    --rm \
    --hostname="$(hostname)" \
    --publish="3389:3389/tcp" \
    --name="remote-desktop" \
    scottyhardy/docker-remote-desktop:latest

To stop the detached container:

docker kill remote-desktop

Connecting with an RDP client

All Windows desktops and servers come with Remote Desktop pre-installed and macOS users can download the Microsoft Remote Desktop application for free from the App Store. For Linux users, I'd suggest using the Remmina Remote Desktop client.

For the hostname, use localhost if the container is hosted on the same machine you're running your Remote Desktop client on and for remote connections just use the name or IP address of the machine you are connecting to. NOTE: To connect to a remote machine, it will require TCP port 3389 to be exposed through the firewall.

To log in, use the following default user account details:

Username: ubuntu
Password: ubuntu

Screenshot of login prompt

Screenshot of XFCE desktop

Building docker-remote-desktop on your own machine

First, clone the GitHub repository:

git clone https://github.com/scottyhardy/docker-remote-desktop.git

cd docker-remote-desktop

You can then build the image with the supplied script:

./build

Or run the following docker command:

docker build -t docker-remote-desktop .

Running local images with scripts

I've created some simple scripts that give the minimum requirements for either running the container interactively or running as a detached daemon.

To run with an interactive bash session:

./run

To start as a detached daemon:

./start

To stop the detached container:

./stop

docker-remote-desktop's People

Contributors

scottyhardy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.