odoo-14-docker-compose icon indicating copy to clipboard operation
odoo-14-docker-compose copied to clipboard

exposes 22 SSH on ODOO:14

Open demonhunters1985 opened this issue 3 years ago • 1 comments

can I expose ssh services on odoo:14 image so can login I have a script that wants to run on it

demonhunters1985 avatar Nov 27 '21 18:11 demonhunters1985

Hi @demonhunters1985 ,

We do not need to expose ssh port, just use docker interaction mode with the following commands:

Check Odoo 14 container ID or name:
$ docker ps
> above command will list all running containers with CONTAINER ID and CONTAINER NAME

Execute interaction mode to connect into running container:
$ docker exec -it odoo14 bash
or
$ docker exec -it <CONTAINER ID> bash

Inside Odoo running container:
Execute your script inside container

minhng92 avatar Nov 28 '21 17:11 minhng92