Docker Community Forums

Share and learn in the Docker community.

Create alias ls -l from Centos on Windows host docker

Hi,

I want add an alias ls -l to my docker from Centos7, i using an Windows host.
I have tried without succes

RUN echo ‘alias ll=“ls -l”’ >> /etc/bashrc
RUN alias ll=‘ls -halF’

Do you have an idea ?
How create an alias command in my Docker ?

Regards