rh917 / docker-ubuntu-workstation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubuntu Workstation in Docker

This repository contains the dockerfile and build script for running an Ubuntu (latest) workstation as a docker container.

Usage

Execute with the following substituting your own name, ports, and timezone:

docker run -d \
  --name=ubuntu-workstation \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ='America/Chicago' \
  -p 2223:22 \
  --restart unless-stopped \
  rhambacher/ubuntu-workstation

Ports: <HOST>:<CONTAINER>

Default SSH Login Username: root Password: password

Enter container's shell to change:

docker exec -ti ubuntu-workstation bash


[root@container /]# passwd
Changing password for user root.
New password: 
Retype new password: 
passwd: all authentication tokens updated successfully.
[root@container /]# 

About


Languages

Language:Dockerfile 76.3%Language:Shell 23.7%