Add a Directory to a Container

Visitor

I am trying to add a couple directories to a new container at creation using the found scripts.

...Script above works.....

# create directory within SQL container for database files
RUN powershell -Command (mkdir C:\\SQLServerData)
RUN powershell -Command (mkdir C:\\SQLServerLog).

They error out here.  I am not a big powershell user and I am new to containers and trying to learn at "warp" speed.  I did locate some info that said to place a -p after mkdir and that got me further but still generated an error.   Any help on this would be appreciated. 

0 Replies