Plesk for Windows
Plesk for Linux
kb: how-to
ABT: Group A
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to install a Docker image?
How to upload a Docker image?
Answer
Warning: This functionality is not supported in Plesk installations running on Windows Server 2008 or in Plesk installed inside Docker.
Click on a section to expand
To install a Docker image from the Catalog, follow these steps:
- Log in to Plesk
- Install docker extension
- Go to Docker > Docker Image Catalog
- Use the search box to find the images in the catalog
- To view the application description and documentation on Docker Hub, click the image name
- To run a specific version, click the arrow next to the Run button, and select the application version
- To run the latest version of the selected application, click Run
- Plesk creates the container and asks to specify its settings (environment variables, memory limit, etc...) and then runs it
After that container appears in the list of containers at the top of the Docker Catalog page
To upload and run a Docker image, follow these steps:
- Log in to Plesk
- Install docker extension
- Go to Docker > Upload Image
- Select the application uploaded and click Run
- Plesk creates the container and asks to specify its settings (environment variables, memory limit, etc...) and then runs it
After that container appears in the list of containers at the top of the Docker Catalog page
Additional Information
Plesk Administrator's Guide: Using Docker
How to proxy requests from domains to Docker container in Plesk?
Comments
2 comments
How can i deploy my own jar or war to official Docker image in Plesk? Currently it is not possible to upload own images or use private Docker Hub repositories. I don't understand how to deploy my own application.
Hello Tomasz Lubowiecki
Plesk Docker extensions use Docker Hub, as you've correctly mentioned.
You have 2 options:
1. Upload your image to the shared Docker hub as specified here: https://ropenscilabs.github.io/r-docker-tutorial/04-Dockerhub.html
2. Upload your image locally as specified here: https://docs.plesk.com/en-US/obsidian/administrator-guide/plesk-administration/using-docker.75823/#managing-local-images
In case your applications isn't placed into Docker image yet, this instruction might help: https://medium.com/@wkrzywiec/how-to-put-your-java-application-into-docker-container-5e0a02acdd6b
Please sign in to leave a comment.