Comments (6)
@ravigunasekara Bind mounting does not work with VirtioFS: docker/for-mac#6243 (comment)
Use gRPC FUSE.
from docker-stacks.
We only push latest images to Quay.io, could you please try using quay.io/jupyter/tensorflow-notebook
image?
from docker-stacks.
Also, please, try executing your command without volume mounted - do you still have an error?
from docker-stacks.
Thanks for the response Ayas, with this image, it straightaway kills the kernel and restarts. when I try to import tensorflow after restart it kills again and restarts. Forgot to mention am using a MAC with M1 chip. I have tried it on my old Mac which has Intel chipset and it works there. Am good for now but leaving this open as this could be the case for other mac users with an M1 chip. Let me know if you need further details for investigations. thanks
from docker-stacks.
docker run --pull always -p 8888:8888 quay.io/jupyter/tensorflow-notebook
+ import tensorflow
works fine for me on M2 MacBook Air, Docker Desktop 4.26.1, macOS Sonoma 14.2.1.
I remember a case when upgrading to Sonoma resolved the issue (it was about emulating x86_64 on a apple-silicon Mac though): #1999 (comment)
Could you please try to close all the jupyterlab tabs in a browser, run the command above, and then try to import tensorflow
in a private tab?
Please, attach your logs from the terminal as well.
Also, please, make sure, you have the same Docker Desktop version.
from docker-stacks.
Out of curiosity: Does it work with my JupyterLab Python docker stack?
On your Apple computer
docker run -it --rm \
-p 8888:8888 \
-v "${PWD}":/home/jovyan \
glcr.b-data.ch/jupyterlab/python/base
In the container
JupyterLab Terminal
pip install tensorflow
python
Python REPL
import tensorflow as tf
For more information, see https://github.com/b-data/jupyterlab-python-docker-stack.
(with b-data's/my docker stack one is supposed to mount the entire home directory).
- Multi-arch:
linux/amd64
,linux/arm64/v8
ℹ️ Runs on Apple M series using Docker Desktop.- Base image: Debian instead of Ubuntu
ℹ️ CUDA-enabled images are Ubuntu-based.- IDE: code-server next to JupyterLab
ℹ️ code-server = VS Code in the browser.- Just Python – no Conda / Mamba
from docker-stacks.
Related Issues (20)
- Broken docker-stacks-foundation image HOT 1
- Broken docker-stacks-foundation image #2 HOT 2
- Install latest spark version automatically
- [BUG] Healthcheck fails when using a custom runtime dir HOT 5
- After starting the container with NB_USER=root, NB_UID=0, and NB_GID=0, $HOME environment variable is still /home/jovyan HOT 3
- Python version pinning mechanism in docker-stack-foundation does not match comment description HOT 1
- GitHub ARM64 runners are now available HOT 4
- seems broken: Infinite API requests to api/kernels/<changing-constantly>/channels?session_id=<changing-constantly> and kernel error HOT 5
- NB_USER does not have permissions to mounted directory HOT 16
- Update docker HOT 6
- Add container images for the GPU version of TensorFlow and PyTorch Notebook HOT 7
- Is the latest build correctly labeled on quay.io HOT 3
- Updates to Docker Hub have stopped HOT 3
- Default JUPYTER_PORT HOT 2
- Kernel crash when using tensorflow/pytorch notebook image HOT 5
- build error HOT 3
- Update images to Ubuntu 24.04 LTS HOT 2
- PySpark Notebook 3.5.1 HOT 1
- R v4.4.0 needed for r-notebooks due to security vulnerability HOT 3
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 docker-stacks.