-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Inform User Docker Desktop on Linux is not Supported #1082
Comments
+1 to this as a reasonable workaround; however, we need to make sure this validation path is Linux specific, as macOS uses Docker Desktop and isn't affected by this problem. Documentation also needs to be updated (both for Briefcase, and the BeeWare tutorial) to highlight the problem. |
This should be pretty straight forward to detect. If adding support for Docker Desktop stalls or we get close to the next release...I may just implement this error for the time being. When Docker Desktop is being used: ❯ docker version
Client: Docker Engine - Community
Cloud integration: v1.0.33
Version: 24.0.2
API version: 1.43
Go version: go1.20.4
Git commit: cb74dfc
Built: Thu May 25 21:51:00 2023
OS/Arch: linux/amd64
Context: desktop-linux
Server: Docker Desktop 4.20.0 (109717)
Engine:
Version: 24.0.2
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 659604f
Built: Thu May 25 21:52:17 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0 When Docker Engine is being used: ❯ docker version
Client: Docker Engine - Community
Cloud integration: v1.0.33
Version: 24.0.2
API version: 1.43
Go version: go1.20.4
Git commit: cb74dfc
Built: Thu May 25 21:51:00 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 24.0.2
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 659604f
Built: Thu May 25 21:51:00 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad |
|
Describe the bug
When creating an AppImage with Docker Desktop installed, Briefcase will encounter errors setting up the build environment. Users are likely to first encounter an error when installing the
pip
requirements.Docker Desktop uses a VM to run containers and this complicates bind mounts a bit since ensuring the
brutus
user has the same uid/gid of the host user is not enough for transparent file sharing. Docker has recommendations for attempting to handle this.In the example below, the bind mount for
/home/russell/tmp/beeware/helloworld/linux:/app:z
results in/app
being owned byroot:root
. You can runchown
/app
to thebrutus
user but then the underlyinglinux
directory becomes owned by a nonexistent user on the host...Error and Stacktrace
Steps to reproduce
context
shown fromdocker info
isdesktop-linux
briefcase create
Expected behavior
Briefcase should inform users that Docker Desktop is not supported during Docker verification.
Screenshots
No response
Environment
0.3.13.dev24+gbc68cf4
Logs
briefcase.2023_02_05-11_37_05.create.log
Additional context
No response
The text was updated successfully, but these errors were encountered: