I
I
Inspector-Due2020-10-04 14:45:47
Docker
Inspector-Due, 2020-10-04 14:45:47

How to work with repositories in Docker?

OS: Windows 10
There are two drives: SSD (system), HDD.
I wanted to install Postgresql via Docker, but all data must be stored on the HDD. How to do it right?
How did I?

docker run -v d:\docker\postgres:/var/lib/postgresql/data ...

But here (Awesome mounts performance) it is written that it is better not to do this.
What to do in this case?
Create ext4 partition, mount and use it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2020-10-04
@Inspector-Due

On vend, instead of docker, you use a Linux virtual machine in which docker runs.
If you want speed - install Linux.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question