$ sudo apt install docker.io
$ sudo systemctl start docker
$ sudo systemctl enable docker
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
$ sudo systemctl enable docker
$ docker-compose up -d
Then locate localhost:10000
to access Odoo 10.0.
Connect your postgres db now by creating a new server in pgAdmin.
name: Odoo10
host: localhost (if not matched, find hostname)
port: 5050
username: odoo
password: odoo