wave-apps icon indicating copy to clipboard operation
wave-apps copied to clipboard

Update docker development Windows install instructions

Open mturoci opened this issue 2 years ago • 11 comments

Update the Windows install instructions in https://github.com/h2oai/wave-apps/tree/main/docker-development, based on the UNIX ones.

mturoci avatar Dec 20 '22 10:12 mturoci

Here are the updated instructions for installing Docker on Windows:

Check the system requirements: Docker Desktop for Windows requires 64-bit Windows 10 Pro, Enterprise, or Education version 1809 or later, with Hyper-V enabled. You also need at least 4GB of RAM. #

Download Docker Desktop for Windows: Go to the Docker website and download the Docker Desktop for Windows installer.

Run the installer: Double-click the installer to start the installation process. If prompted, allow the installer to make changes to your system.

Configure Docker: After the installation is complete, Docker Desktop launches automatically. You can configure Docker by clicking the Docker icon in the system tray and selecting "Settings". Here, you can adjust settings such as the amount of memory and CPU Docker is allowed to use.

Verify installation: Open a command prompt or PowerShell window and run the command docker version to verify that Docker is installed and running correctly.

Start using Docker: You can start using Docker by running Docker commands in a command prompt or PowerShell window. You can also use a graphical user interface such as Kitematic to manage your Docker containers.

That's it! With these steps, you should now have Docker up and running on your Windows machine.

InfasMohammed avatar Feb 24 '23 00:02 InfasMohammed

Thanks @InfasMohammed! Can you make a PR with these instructions in the Windows section of this readme?

mturoci avatar Feb 24 '23 08:02 mturoci

Also please verify, if

git clone https://github.com/h2oai/wave-apps.git
cd wave-apps/docker-development
docker build . -t wave_local_dev
docker run -p 10101:10101 -v $(pwd)/src:/app/src wave_local_dev:latest

work on windows as well and successfully allow you to go to http://localhost:10101 in your browser.

mturoci avatar Feb 24 '23 08:02 mturoci

Also please verify, if

git clone https://github.com/h2oai/wave-apps.git
cd wave-apps/docker-development
docker build . -t wave_local_dev
docker run -p 10101:10101 -v $(pwd)/src:/app/src wave_local_dev:latest

work on windows as well and successfully allow you to go to http://localhost:10101 in your browser.

Hey @mturoci, I verified it on Windows and I got the "Hi, Hello World!" message. Is it expected?

Screenshot: image

Regards, Devarsh Shah.

devarsh10 avatar Oct 06 '23 09:10 devarsh10

Yes @devarsh10, that's right. You can update the README accordingly - the instructions are the same for all OSes.

mturoci avatar Oct 06 '23 10:10 mturoci

Okay @mturoci, I just have to add the Docker installation steps right?

devarsh10 avatar Oct 06 '23 10:10 devarsh10

No. That's covered in https://www.docker.com/. The goal is to make it clear how to run the dockerized app - https://github.com/h2oai/wave-apps/tree/main/docker-development. The wording used may be a bit confusing so we can change installation to set up maybe.

mturoci avatar Oct 06 '23 10:10 mturoci

Thanks @InfasMohammed! Can you make a PR with these instructions in the Windows section of this readme?

Could you assign me this issue under hacktoberfest?

harshjais369 avatar Oct 13 '23 16:10 harshjais369

@harshjais369 you can go ahead. We do not assign issues.

mturoci avatar Oct 16 '23 06:10 mturoci

One simpler method is to append docker-development/README.md:20 to include / Windows since docker for desktop on win64 systems does have the same CLI tools that MacOS and Linux has, this also includes WSL.

denzuko avatar Nov 20 '23 17:11 denzuko

I have both implemented in https://github.com/h2oai/wave-apps/pull/123

denzuko avatar Nov 20 '23 17:11 denzuko