Re: Unable to run ls command in Docker file

485 views
Skip to first unread message

Suryateja Hanumandla

unread,
Feb 24, 2016, 7:00:54 PM2/24/16
to Docker-user, docker-dev, Sebastiaan van Stijn

Hi,
Why "ls" command is not working in docker. Could you please help me.

Thanks,
Surya.

Hi All,
I'm trying to excute ls command in Docker file but it is failing. My requirement is to delete all directories except one directory in specific location.

Ex:
 RUN ls dir_list| grep -v "exclude_dir"| xrags rm -rf


Thanks,
Surya
Reply all
Reply to author
Forward
0 new messages