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

add commandlets for docker and kubernetes #584

Closed
hohwille opened this issue Jun 1, 2021 · 12 comments · Fixed by #570, #593, #594 or #595
Closed

add commandlets for docker and kubernetes #584

hohwille opened this issue Jun 1, 2021 · 12 comments · Fixed by #570, #593, #594 or #595
Labels
commandlet related to commandlets (scripts/command/*) enhancement New feature or request help wanted Extra attention is needed scripts related to shell scripts (bash and CMD) software software-package with 3rd party products

Comments

@hohwille
Copy link
Member

hohwille commented Jun 1, 2021

As a user of devonfw-ide, I want to have docker and kubernetes support so that I can automate this for my team and can easily write scripts that work cross-platform using docker and kubernetes.

Acceptance

  • devon docker setup will install docker. If docker is already installed on my machine, it will notice and honor the existing installation.
  • devon kubernetes setup will install kubernetes. If kubernetes is already installed on my machine, it will notice and honor the existing installation.
@hohwille hohwille added the enhancement New feature or request label Jun 1, 2021
@hohwille hohwille linked a pull request Jun 1, 2021 that will close this issue
@hohwille
Copy link
Member Author

hohwille commented Jun 1, 2021

Notice for MacOS:

  • Installation: https://docs.docker.com/docker-for-mac/install/
  • We could add support for MacOS that:
    • detects architecture (intel vs. apple CPU)
    • downloads the latest release for the detected architecture
    • opens the downloaded release (on MacOS that is a dmg file that is actually a virtual disc image that then gets mounted)
    • instruct the user with the required manual steps (go to the mounted disc drive and drag&drop the docker app to the applications folder, then launch docker from launchpad)

@hohwille
Copy link
Member Author

hohwille commented Jun 1, 2021

Easy to detect architecture on macos:

uname -m
x86_64

@hohwille
Copy link
Member Author

hohwille commented Jul 8, 2021

Was autoclosed by PR #570. I will reopen to add support for MacOS.

Any linux user of devonfw-ide available who could assist for linux support?
https://docs.docker.com/engine/install/ubuntu/

@hohwille hohwille reopened this Jul 8, 2021
@hohwille hohwille linked a pull request Jul 8, 2021 that will close this issue
@hohwille hohwille added this to the release:2021.04.002 milestone Jul 12, 2021
@hohwille hohwille added commandlet related to commandlets (scripts/command/*) scripts related to shell scripts (bash and CMD) software software-package with 3rd party products labels Jul 12, 2021
@hohwille
Copy link
Member Author

For windows network issues with VPN see:
https://github.com/sakai135/wsl-vpnkit

@hohwille
Copy link
Member Author

was autoclosed by PR #593 hence reopening as not yet done.

@hohwille hohwille reopened this Jul 13, 2021
@hohwille
Copy link
Member Author

Docker Desktop is not available for Linux. However, I also found this one that supports all 3 OS:
https://dockstation.io/

Anybody experience with this tool?
I personally like Docker Desktop on MacOS and can recommend it. I have not yet used DockStation at all.

@hohwille
Copy link
Member Author

Minimal system requirement:
Docker for Windows v1.12.0+
Docker Compose v1.6.0+
Windows 10 Pro (64bit)
Microsoft Hyper-V

Does not really seem to be state-of-the-art and what we are looking for. Maybe an optional aspect to close the Linux UI gap.

@hohwille
Copy link
Member Author

hohwille commented Jul 13, 2021

Looks to me as if we could link such articles from the docs and let the linux user decide if he needs UI and which one to choose. We can still make a suggestion as best practice but I do not see that we need to automate this or even enforce the decision.

@hohwille hohwille linked a pull request Jul 13, 2021 that will close this issue
@hohwille
Copy link
Member Author

From PR #593 for Linux:

I feel we should support Debian and Ubuntu, nothing more. These are the most often used ones by users... For sure we can wait for contributions to support more if there are people who want to support more.
Nevertheless, I fully agree that we have to make it transparent. ... which checks for the current distribution installed. If a distribution is not supported, it should give a proper error message

So for Linux we need to automate and script:

@hohwille hohwille added the help wanted Extra attention is needed label Jul 13, 2021
@hohwille
Copy link
Member Author

For the record:
To test our initial approach I followed the instructions and recommendations from Microsoft to setup WSL 2 manually. I therefore connected my Microsoft account on my Windows Machine and joined the Insider Program. As a result my Laptop was upgraded to Windows 11. Since then my Latop crashes ~ every hour and is not really usable anymore. Microsoft also does not support an easy way back to downgrade without loosing your installed software. So it is really not an option to give this instructions to our developers.

@hohwille
Copy link
Member Author

hohwille commented Jul 15, 2021

Moving tasks from PR #594:

@hohwille
Copy link
Member Author

Once again reopening from PR auto-close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commandlet related to commandlets (scripts/command/*) enhancement New feature or request help wanted Extra attention is needed scripts related to shell scripts (bash and CMD) software software-package with 3rd party products
Projects
None yet
1 participant