🖥️ Ubuntu VPS Server with Remote Desktop
304
ssh: 22
rdp: 3389
root and password root by default/root/.secret before compose itRemote Desktop Software
Host: 127.0.0.1
User: 'root'
Password: 'root' # or your password in container file `/root/.secret`
By default, most applications already have port
3389set, if you have trouble accessing it, enter the port manually, like127.0.0.1:3379
SSH
ssh [email protected]
# password: "root" or your password in container file `/root/.secret`
# docker-compose.yml
version: '3'
services:
vps-xubuntu-desktop:
image: wellwelwel/desktop:latest
privileged: true
restart: always
ports:
- '22:22' # SSH
- '3389:3389' # RDP
volumes:
- ./.secret:/root/.secret:ro
largecommit from an opened container or Build a new image from thisThis repository has multiple steps:
I pulled the image from wellwelwel/vps:latest
With svps, I mounted with this setup:
// @ts-check
import { defineConfig } from 'svps';
export default defineConfig({
access: [
{
host: '127.0.0.1',
username: 'root',
password: 'root',
},
],
steps: {
/** on */
repare: true,
apt: true,
firewall: true,
desktop: true,
reboot: true,
/** off */
users: false,
certificate: false,
apache: false,
docker: false,
php: false,
node: false,
mysql: false,
crontab: false,
appendCommands: false,
},
});
Already inside the Desktop, I ran a script to personalize the XFCE options: (see here)
Lastly, I commit the opened container to build the final image 🐳
Content type
Image
Digest
sha256:e3b7d8a38…
Size
1.4 GB
Last updated
over 3 years ago
docker pull wellwelwel/desktop