Ubuntu image with a ready-to-use development environment and UI (g++, git, Qt5, Qt Creator, VS Code)
10K+
Creates a Docker image built on the latest Lubuntu that hosts a ready-to-use development environment with UI (g++, git, gitk, cmake, Qt 5, Qt Creator, VS Code, Node.js, etc).
The default command of the container launches a TurboVNC server on PORT 5901. The default user is
orion, which has sudo rights. It provides a fully working development environment running on LXDE
that contains useful software such as g++. git, Terminator, Qt Creator, Visual Studio Code, gitk. You
can start the container with:
$ docker run -it -p 5901:5901 yrahal/dev-machine
Which you can connect to using your preferred VNC client. The container will ask you to set and confirm a password of your choice that you'll re-enter when connecting from the VNC client.
But like any other Docker image, the default command can be overridden and you can launch the container in CLI or in order to execute a single command (like a compilation for example). This method does not need port mapping and does not launch a VNC server:
$ docker run -it yrahal/dev-machine bash
to launch a bash shell. Or:
$ docker run -it -v $PWD:/src yrahal/dev-machine g++ myfile.cpp
to compile myfile.cpp (the default working directory on the container is /src).
This image is fully capable of running 3D accelerated applications when run on Nvidia hardware with drivers installed with the help of the nvidia-docker plugin. See my ec2-setup GitHub repo for more information.
This image is used as a basis for two other images I built for the Udacity Self-Driving Car and Robotics Nanodegrees:
run.sh: Script provided for convenience to run the image with some useful mappings:
5901 port to the same one on
the host./src on the container (which is the default working
directory).orion-home to the orion home directory on the container. This volume
exists on the host and is created on the first run. This is useful to persist the preferences
between sessions, but is not required.build.sh: Script to build the image from the Dockerfile.Dockerfile: File used to build the image. This image is hosted on Docker Hub as
yrahal/dev-machine.Content type
Image
Digest
Size
6.2 GB
Last updated
almost 8 years ago
docker pull yrahal/dev-machine