Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Linux Containers Reliably on Windows #157

Open
psychemedia opened this issue May 26, 2021 · 0 comments
Open

Running Linux Containers Reliably on Windows #157

psychemedia opened this issue May 26, 2021 · 0 comments
Labels
bug Something isn't working distribution enhancement New feature or request

Comments

@psychemedia
Copy link
Contributor

Windows of Docker may be set up to use Windows containers. The --platform=linux switch can be applied to docker pull and docker run commands.

You can check the type of container by running: docker inspect --format '{{.Os}}' CONTAINER_NAME
(returns linux ?or windows ?)

Also:

docker inspect --format '{{.Architecture}}' CONTAINER_NAME
docker inspect --format '{{.Env}}' CONTAINER_NAME
docker inspect --format '{{.Config.Env}}' CONTAINER_NAME
docker inspect --format '{{.Config.ExposedPorts}}' CONTAINER_NAME
docker inspect --format '{{.Config.Volumes}}' CONTAINER_NAME

https://devblogs.microsoft.com/premier-developer/running-docker-windows-and-linux-containers-simultaneously/

@psychemedia psychemedia added bug Something isn't working enhancement New feature or request distribution labels May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working distribution enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant