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

fix: permission denied when starting docker with uid 1000 #14903

Merged
merged 1 commit into from
May 29, 2021

Conversation

shawnzhu
Copy link
Contributor

@shawnzhu shawnzhu commented May 28, 2021

SUMMARY

Fixes #14847 which is caused by the missing home diretory.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

When building the container image:

docker build --target lean -t 'testing/superset:2702ca' .
docker run -it --rm testing/superset:2702ca /bin/bash -c "ls -lh /app | grep superset_home"

It should show the folder superset_home exists and owned by user superset.

ADDITIONAL INFORMATION

  • Has associated issue: Docker /app permission issue #14847
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@shawnzhu shawnzhu changed the title Fix permission denied when starting docker with uid 1000 fix permission denied when starting docker with uid 1000 May 28, 2021
@shawnzhu shawnzhu changed the title fix permission denied when starting docker with uid 1000 fix: permission denied when starting docker with uid 1000 May 28, 2021
@nytai
Copy link
Member

nytai commented May 28, 2021

We also have #14897 open

@shawnzhu
Copy link
Contributor Author

@nytai thank you! I've commented on #14897 and happy to see #14867 and #14847 are fixed by either PR

@dpgaspar dpgaspar merged commit 51935dd into apache:master May 29, 2021
@shawnzhu shawnzhu deleted the issue-14847 branch May 30, 2021 23:38
cccs-RyanS pushed a commit to CybercentreCanada/superset that referenced this pull request Dec 17, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.3.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/XS 🚢 1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker /app permission issue
4 participants