Run linux-docker-image on a Solaris machine, how?

129 Views Asked by At

How do I run on solaris, a linux based docker-image (e.g nginx image)? I expect similar to running a nginx-image on windows machines.

e.g Can I have a virtualbox-linux in solaris-os, and then run docker run nginx? What are the ways?

2

There are 2 best solutions below

0
Hernan Garcia On

I'm not sure about your question but maybe the --platform might help you

You can use it in the docker run command if your host is multi-platform capable https://docs.docker.com/engine/reference/commandline/run/

--platform      Set platform if server is multi-platform capable

e.g.

docker run -d nginx --platform arm64 ...

Hope this helps!

1
Ascendise On

There is currently no support for Docker on Solaris.

Docker containers rely on their hosts kernel, that's why Docker only works on linux systems or if the operating system provides a linux kernel. (WSL makes Docker work on Windows)