Containers and Docker in Windows - here's MySQL running


jimbo45

Well-known member
Pro User
VIP
Local time
3:03 PM
Posts
5,024
Location
Hafnarfjörður IS
OS
Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
Hi folks
I'm playing around with docker and containers on Windows (DEV version).
I'm just testing a container with Ab (Oracle) MySQL in it --

OK you can run this "Native mode" on Windows but seems to me for many applications etc this is a far better way to go than simply installing a full blown VM whether on HYPER-V or some other system. There's quite a few other type apps I could run this way with profit !!!.

You do need to enable either WSL or HYPER-V (or both if you want) -- Docker desktop requests at install time - WSL or HYPER-V. Probably easier to start by choosing WSL as a beginner (which I am).

The MySQL container is very simple to set up and experiment with -- note if you use the example from the Docker documentation "as is" -- it works fine BTW - remember that when you logon to mysql the root password is "strong_password" -- otherwise you'll get Access denied - and you'll probably be looking all over the internet for hideously wrong and convoluted solutions !!!.

Skjámynd 2025-05-01 121808.webp

Added :

Note also to display containers - use the FREE community edition of Visual Studio 2022 -- a bit convoluted to download stuff if you aren't used to this but it does work - I suggest running all this stuff on a Test Windows version so you can get rid of it if it all gets hosed up !!!

Skjámynd 2025-05-01 131334.webp


Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
    Screen Resolution
    4KUHD X 2
Back
Top Bottom