<< Install ODC with Docker >>

Step 0. What is Docker?

Docker筆記 - Docker基礎教學

Docker筆記 - 進入Container,建立並操作 PostgreSQL Container

Step 1. Install Docker

Install Docker Engine

<aside> ❗ If it brings up a WSL problem, click the link it offered and execute step 3. and step 4. (as below) Then restart your computer if the docker still failed to start.

</aside>

Untitled

Untitled


Step 2. Check if postgres and datacube are in the same network for working together

docker network inspect bridge

If it’s not linking together, create net for Postgres and datacube

docker network create <name of your net>
#docker network create my-net

Step 3. Pull Postgres and ODC images from Docker Hub

postgres - Official Image | Docker Hub

Docker Hub

You can execute it by duplicate the docker pull command to the command line of your computer. (as below)

Untitled

>> When you done with it you’ll get your docker be like this :