-
Notifications
You must be signed in to change notification settings - Fork 45
Dev Environment: setup and the documentation for using the container #1161
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Laurynas Jagutis <[email protected]>
Signed-off-by: Laurynas Jagutis <[email protected]>
Signed-off-by: Laurynas Jagutis <[email protected]>
Signed-off-by: Laurynas Jagutis <[email protected]>
Signed-off-by: Laurynas Jagutis <[email protected]>
Signed-off-by: Laurynas Jagutis <[email protected]>
Signed-off-by: Laurynas Jagutis <[email protected]>
Signed-off-by: Laurynas Jagutis <[email protected]>
Signed-off-by: Laurynas Jagutis <[email protected]>
Signed-off-by: Laurynas Jagutis <[email protected]>
| To begin using the container there are two open-source applications that must be installed. | ||
|
|
||
| * Podman (<https://podman.io/>) - a container engine that lets developers build, run, and manage containers and pods | ||
| without needing a background service. | ||
| * DevPod (<https://devpod.sh/>) - a tool that instantiates reproducible, disposable development environments allowing | ||
| developers to code inside the containers with their usual editors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the developer need to install two additional software (besides Docker) to use the Dev Container? I am hesitating about whether this actually brings convenience to the developers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just having docker desktop would also work (that's one tool instead of 2, but it's a paid service). Many python-only developers will have these tools installed anyways.
Devcontainers are especially useful for those python-only developers that have never worked with a C++ compiler but come from the IT industry in which containers are extremely common
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, please take container into account for macOS.
https://github.com/apple/container
It is the preferred container engine.
|
I was able to install everything and launch the container through VScode, but I'm having trouble with |
After diving into the issue together with @Laurynas-Jagutis, we found that there were two issues:
Both points will be added to the documentation, but I can now confirm that this approach works well for MacOS as well. |
@figueroa1395 please try |
Signed-off-by: Laurynas Jagutis <[email protected]>
|
| # | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
|
|
||
| * text=auto No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please do not blindly set * text=auto. You can refer to https://stackoverflow.com/questions/21472971/what-is-the-purpose-of-text-auto-in-gitattributes-file
What's the reason you needed this in the first place?
I will try as soon as I have the time and report back. |



Setup of the Dev Container on the Python side only.
Also has the documentation on how to set it up.
The gitattributes file is for standardizing line endings to LF instead of CRLF