You would have to either copy the file to your docker container or mount the directory.
To copy the file, follow the procedure in the question to which you linked, something like:
docker cp /home/Snow/Documents/table.csv your_container:/
Then, from within your container, you could import access the file:
\copy table from '/table.csv' with delimiter as ',' csv header;
Alternatively, when you created the container, you could have added a volume with the -v option like:
docker run -v /home/Snow/Documents:/data postgres
and then your Documents directory would be at /data allowing you to import like this:
\copy table from '/data/table.csv' with delimiter as ',' csv header;