Docker Community Forums

Share and learn in the Docker community.

Docker volumes encoding


(Kim Lokøy) #1

When I use docker volume the file name encoding is wrong. I am doing this using boot2docker.

I have a local directory with the following files:

>ls
>ø.js a.js

When I mount the folder with docker volumes using an ubuntu image:

>docker run -v ~/docker_volume:/data -i -t ubuntu /bin/bash

Inside the docker image, this is what I see in the volume:

docker>ls data/
docker>a.js ?.js

Is there a way I can mount the volume and keep file names as expected?