Docker Community Forums

Share and learn in the Docker community.

Run installations on host machine using docker

Hi,
I am fairly new to docker and am trying to create an image to run PowerShell scripts which download and do some installations in the host machine.
Does docker have the capability of running installations on the host machine?

Thanks

I understand you’re trying to use some PowerShell scripts in a Docker container to install software onto the host, instead of into the container. Docker probably isn’t the right tool for what you’re trying to accomplish.

Have you looked at using other configuration management tools, such as Ansible, for this purpose?

Cheers,
Trevor Sullivan

Thanks for the reply ,

I kind of have a complex situation. I have IOT edge deployment which basically runs certain containers on a edge device . So, I basically want a container which could do these installations on the edge device which is purely container based.

I am kind of trying to get something which gives this possibility.