I'm trying to copy a file from local to a directory in the namenode in docker. I tried this command : docker cp ./ventes.txt ID:/~/direc1 but the file doesn't exists when i access the directory in the namenode bash
Asked
Active
Viewed 114 times
-1
Abdo Rabah
- 954
- 1
- 10
- 21
1 Answers
1
There may be a problem by using "~". Could you try to use an absolute path? For example:
docker cp ./ventes.txt 6c25a78e8f59:/root/direc1
Hugo Martin
- 157
- 6