Hey,everybody!
I new docker,and i try no use dockerfile with this code:
FROM quay.io/jupyter/base-notebook
RUN pip install numpy
Than,I get this message
=> ERROR [internal] load build definition from Dockerfile 0.0s
[internal] load build definition from Dockerfile:
ERROR: failed to solve: failed to read dockerfile: failed to create lease: read-only file system
What’s wrong with docker?
File and folder aren’t read-only.
meyay
(Metin Y.)
2
We usually need the following information to understand the issue:
-
What platform are you using? Windows, Linux or macOS? Which version of the operating systems? In case of Linux, which distribution?
-
How did you install Docker? Sharing the platform almost answers it, but only almost. Direct links to the followed guide can be useful.
-
On debian based Linux, the following commands can give us some idea and recognize incorrectly installed Docker:
docker info
docker version
Review the output before sharing and remove confidential data if any appears (public IP for example)
dpkg -l | grep docker
snap list docker
When you share the outputs, always format your posts according to the following guide: How to format your forum posts
Furthermore, share the output of:
findmnt --target $(docker info --format '{{.DockerRootDir}}')
If findmnt
is not available, install the util-linux
package and try the command again.