IPGRAY : Docker - How to switch from windows docker container to Linux container in Windows 10

preview_player
Показать описание
IPGRAY : Docker - How to switch from windows docker container to Linux container in Windows 10

This video shows How to switch from docker windows container to Linux container in Windows 10

1. My default docker container is windows and i don't have any docker images in windows container
I cleaned it up for this video.

2. From command prompt or from Power shell type...
docker images
in my case i should get blank if you have any images you will see the list of images

3. Open docker (installed) software, if you have it in windows show hidden icon in the taskbar
right click on Docker

4. click "Switch to Linux Container"

5. This will take some time

6. Go to command prompt of power shell type...
docker images
This will show you the images in linux container ... depends upon how many images you have

7. Repeat the same (steps 3 and 4) to Switch back to Windows container
Switching back to windows container i should see zero images same as step 2

8. Switching is easy if you have the latest docker container installed.

Watch more IPRGAY videos on Docker ... in youtube ...
IPGRAY : Docker - How to download and install Docker Container in windows
IPGRAY : Docker - How to uninstall Docker container from windows
IPGRAY : Docker - How to install ubuntu linux in Docker Container in windows
IPGRAY : Docker - How to install webserver nginx in Docker Container in windows
IPGRAY : Docker - How to install posh docker in Docker Container in windows

----------------------

Follow more IPGRAY videos in youtube

thank you for watching IPGRAY video
please share, subscribe and comment

visit
for more IT articles, documents and videos
Рекомендации по теме
Комментарии
Автор

Thank you, you saved me. I was going to delete everything and reinstall windows..

MrVina_NZ
Автор

Thanks for this video, i am facing an issue when I switch to linux container, environment
Windows 10 Pro 1709
Docker 18.06.0-ce-win72
Hyper-V Manager, there is one VM created MobyLinuxVM during installation if you don't checkbox for windows container, I set the network switch adaptor (external), all this seems fine, but MobyLinuxVM unable to start. Throws below error - in both the cases when you do switch to linux container or when you install docker w/o checking explicitly windows container

Unable to start: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 'MobyLinuxVM' failed to start. (Virtual machine ID
at Start-MobyLinuxVM, <No file>: line 300
at <ScriptBlock>, <No file>: line 395
at action, Object[] parameters) in 36
at syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) in 77
at in 61
at in 59


###Note- I see in the settings 'Shared Drive' when i try to give access to C:\ Drive, it is not happening, how to fix that. I am using company laptop.

RakeshKPandey
Автор

Hello Thanks for video. I have installed Linux container first and tried to switch to windows. it worked well but while switching to Linux getting Error "ErrorActionPreference" or common parameter is set to Stop: Hyper-V encountered an error trying to access an object on computer '<my computer>' because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running.
at New-Switch, <No file>: line 121
Please help to get rid of this. Thanks in advance

jkkumar