Sign inSign up

manasveer6/android-studio-vnc

By manasveer6

•Updated about 2 years ago

Image
0

248

manasveer6/android-studio-vnc repository overview

⁠Android Studio Docker Image

⁠Overview

This Docker image provides a ready-to-use Android Studio environment based on the x11vnc/docker-desktop image. It includes Android Studio pre-installed along with a desktop shortcut for easy access. The container uses VNC and NoVNC for remote desktop access, allowing you to interact with Android Studio through a web browser or VNC client.

⁠Features

  • Android Studio Pre-installed: The latest version of Android Studio is downloaded and installed in the container.
  • Desktop Shortcut: A shortcut is created on the desktop to launch Android Studio easily.
  • VNC and NoVNC Support: Access the graphical interface via VNC or directly from your browser using NoVNC.

⁠How to Use

⁠Pull the Image

To pull the image from Docker Hub, use the following command:

docker pull yourusername/android-studio-vnc
⁠Run the Container

To start the container and expose the necessary ports:

docker run -d -p 5900:5900 -p 6080:6080 yourusername/android-studio-vnc

After running this command, the container will start, and you will be provided with a URL to access the graphical interface via NoVNC.

⁠Access Android Studio

Once the container is running, you can access the Android Studio environment in two ways:

  • Via Web Browser (NoVNC): Open your web browser and navigate to the URL provided when the container starts (e.g., http://localhost:6080). This will allow you to interact with the Android Studio interface directly from your browser.

  • Via VNC Client: Use a VNC client to connect to localhost:5900 to access the Android Studio environment.

⁠Android Studio on the Desktop

Once you're connected to the desktop environment via NoVNC or VNC, you will find an Android Studio shortcut on the desktop. Double-click the shortcut to launch Android Studio.

⁠Configuration

⁠Environment Variables
  • DEBIAN_FRONTEND: Set to noninteractive to avoid prompts during package installations.
⁠Exposed Ports
  • 5900: VNC server port for remote desktop access.
  • 6080: NoVNC web interface port for browser-based access.

⁠Example

To run the container and access Android Studio via NoVNC:

docker run -d -p 5900:5900 -p 6080:6080 yourusername/android-studio-vnc

Then open your browser and go to http://localhost:6080 to start using Android Studio.

⁠License

This Docker image is provided under the MIT License. See the LICENSE file for more details.

⁠Contact

For any issues or inquiries, feel free to reach out via Docker Hub or GitHub.


Tag summary

Content type

Image

Digest

sha256:8e46a8761…

Size

1.9 GB

Last updated

about 2 years ago

docker pull manasveer6/android-studio-vnc