Comments (4)
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Welcome to the Jupyter community! 🎉
from dockerspawner.
Docker credentials are effectively global- once you've run docker login
any Docker client can use those credentials. In Kubernetes access to the secret is explicit.
For this reason I think it'd be easier and clearer to have a startup script that runs docker login
before starting JupyterHub, rather than building it into DockerSpawner.
If you really wanted to do it in JupyterHub I think you could add the following to your jupyterhub_config.py
file:
import docker
client = docker.APIClient()
client.login(...)
https://docker-py.readthedocs.io/en/stable/api.html#docker.api.daemon.DaemonApiMixin.login
from dockerspawner.
I see, thank you, I will try it out and see if it fixes my issue
from dockerspawner.
@manics I added the startup script as you suggested with the docker login command, as well as other container registry login commands, and it worked perfectly, thank you!
from dockerspawner.
Related Issues (20)
- "host" network_mode is incompatible with port_bindings HOT 2
- Extra Create Kwargs Overwrite Create Kwargs HOT 2
- Named server docs do not include information on `name_template` configuration HOT 3
- SQLAlchemy 2 compatibility issue with JupyterHub<3.0 HOT 3
- Discussion: SQLAlchemy2 compatibility issue HOT 8
- imagename and tag not sanitized in name_template HOT 2
- Unable to change docker container name HOT 3
- Podman tests fails in CI due to restricted permissions in podman service started by non-root user HOT 1
- Not able to log to jupyterhub notebook as admin HOT 3
- Escape defaults causing mixed case usernames to have problems with the SystemUserSpawner HOT 2
- Add docs url to the right side of GitHub repo HOT 2
- Running SwarmSpawner with `c.SwarmSpawner.extra_create_kwargs = {"user": "root"}` fails HOT 1
- Allow passing exposed port arguments to docker swarm service creation HOT 3
- Interesting link in singleuser container HOT 2
- Add implementation for delete_forever HOT 1
- Test failures in main branch
- Jupyterhub sample /examples/oauth not working HOT 1
- EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self' 'unsafe-inline' https: data:" HOT 2
- examples/simple - /user/admin spawned server doesn't understand the path prefix, leads to 404 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerspawner.