Want to Install Odoo in Plesk with container? How?

Setup Odoo in Plesk with Docker container.

Here we describe how the docker is used to run Odoo in your system. It is very simple to use Docker for Odoo.

Docker containers make it easy to install the Odoo version. If you already have Docker installed, you will be running Odoo in a couple of minutes.

Let's begin.

Plesk :

Plesk is a commercial web hosting platform with a control panel that allows a server administrator to set up new websites, reseller accounts, e-mail accounts, and DNS entries through a web-based interface 

Docker:     

Docker is a set of the platform as service products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels

Docker Image:

 Image is a set of files. Setup of system library, tools and other dependencies that will make your container running after hit docker run command with a given image

To Run Odoo in Docker container

Start Postgres Server:

 docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:10 

Start Odoo:

 docker run -p 8069:8069 --name odoo --link db:db -t odoo 

Stop and Start Odoo Container:

 docker stop odoo

docker start odoo

Local images for postgres and odoo:


 

After the above command, you can see your Odoo up and running on port 8069 

You can download and run local images from Plesk as you can see in below screen

We can also run multiple Odoo containers with different ports

docker run -p 8070:8069 --name odoo1 --link db:db -t odoo[image name]

docker run -p 8071:8069 --name odoo2 --link db:db -t odoo[image name]


You can also give image name for Odoo version:

docker run -p 8070:8069 --name odoo1 --link db:db -t odoo:11[image name]

docker run -p 8071:8069 --name odoo2 --link db:db -t odoo:12[image name with tag]

Define port on which you want to run Odoo


Result of the above command in the next screen:



 Run Odoo with local Postgres setup in Plesk: 

We can also run Odoo in docker container without running separate container of Postgresql in Plesk

We can use local Postgres setup to run Odoo docker container


You will get the below screen result without running Postgres container



Conclusion

Congratulations! you have successfully Setup Odoo as Docker Container in Plesk! 

If you have questions about how to use Odoo or container technologies in your business, Caret IT feels happy to answer them and help you.

Caret IT also provides other Odoo services like Odoo Customization, Odoo Implementation, Odoo Integration, etc. to our clients. Our Odoo experts are always there to help you out with all your Odoo and business-related queries.

Odoo text and image block

Contact us to Implement most Trending Open source Odoo ERP with High quality and reasonable cost, For more details write to us.

Ask for a Quote

Want to speak to us about Odoo ERP
Drop us a mail on: sales@caretit.com
Skype: caretsoftware

Let's talk

+91 9714141841