If you're looking for a quick and easy way to set up a Linux VNC desktop using Docker on Google Cloud Platform (GCP), you're in the right place. Follow these simple steps to get started.
Prerequisites
- Google Account
Instructions
Go to Google Cloud Console.
Activate the Cloud Shell by clicking on the terminal icon in the top right corner.
Paste the following command in the Cloud Shell terminal:
docker run -p 8080:80 dorowu/ubuntu-desktop-lxde-vnc
Press Enter to run the command. This will launch a Linux VNC desktop Docker container.
After the code has executed, click on "Web Preview" in the Cloud Shell toolbar.
Select "Preview on port 8080" from the dropdown.
You're done! Access your Linux VNC desktop by navigating to the provided URL in your web browser.
Feel free to customize and explore the Docker image for additional configurations.
Happy coding!