Community mailing list archives
Re: Odoo 11 docker installationby
when you create a docker with the run command you in fact tell docker to use an image as base of your container
you probably did something like:
with the parameter -t odoo you told docker to use to image calle
docker run -p 8069:8069 --name odoo --link db:db -t odoo
which if not already on your computer, should be downloaded from docker hub.
you can easily create that image yourself.
To do so, you download
to an empty folder on your server.
Then you create your own image with:
cd to the folder with the Dockerfile
docker build -t my_own_odoo .
this will create a local image called "my_own_odoo"
to use it to build a container you execute something like:
docker run -p 8069:8069 --name odoo --link db:db -t my_own_odwn_odoo
Of course nothing has changed, but you can change the Dockerfile at will and rerun the build an run commands.
I'am trying to install odoo 11 docker container and I face the same issue as a lot of other people with an utf-8 encoding problem for python 3.5, and with a solution that is described here : https://hub.docker.com/_/odoo/ that says
A line seems to be missing in the dockerfile :
ENV LANG C.UTF-8
https://github.com/docker-library/python/issues/13 (aleph link)
I am not expert in docker, and my understanding is that dockerfile file is used to compile the container on the system. Since I get the container from a docker run command, I don't have any dockerfile on my system. Anybody could tell me what should I do ?
I am on ubuntu 17.10
Thanks a lot.