A
A
Alexander2020-12-14 09:43:52
Windows
Alexander, 2020-12-14 09:43:52

How to access a file in Ubuntu?

Installed ubuntu 18.04 as a subsystem in windows 10 (WSL)

The question arose how now you can access the file that are in windows from ubuntu.

I need to run the docker-compose up --build command from the ubuntu home folder on the command line, this command should refer to the docker-compose.yml file, the file is physically located in windows.

I know that ubuntu has a mnt partition - from which the host system folders (windows 10) are displayed, is it possible to somehow access files from this partition while remaining in the home folder, for example, mount them or make a symbolic link to the file?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2020-12-14
@Sanes

/mnt/windows drives

M
Maxim Korneev, 2020-12-14
@MaxLK

a detailed description about running docker in WSL was on Habré last week. and hung in popular.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question