Skip to content

Tutorial

This is a demonstration of the CLI applications pre-installed in the workspace.

Start

docker run --name space-1 -d alnoda/ubuntu-workspace

Now you can ssh into the running workspace container

docker exec -it space-1 /bin/zsh

Root user

ssh into the running workspace container as root user

docker exec -it --user=root space-1 /bin/zsh

File browser

Explore file system with Midnight Commander

mc

mc

Text editor

Text editors vim, nano and mcedit are available. For example, clone git repo and edit python file with nano

git clone https://github.com/dimaba/sendmail.git
cd sendmail
nano sendmail.py 

nano

mcedit sendmail.py 

mcedit

System monitor

Launch system-monitor, process-viewer and process-manager

htop

htop

Explore processes and resources with Glances

glances

glances

Explore file/folder sizes

ncdu

ncdu

Git

Clone Git repo and explore with Lazygit

git clone https://github.com/peaceiris/mkdocs-material-boilerplate.git
lazygit

lazygit

Browser terminal

This workspace has browser-based terminal up and running. Open localhost:8026 in browser. Start the workspace on Rasberri Pi and use it via Tablet.

In order to use browser-based terminal, expose port 8026

docker run --name space-1 -d -p 8026:8026 alnoda/ubuntu-workspace

web-based-terminal

Docker in docker

If you want to use docker, check out ubuntu-docker-workspace. It is the same, but with docker-in-docker.