hoppiece / anime-tinder

The prototype of matching service between geeks and cartoons.
0 stars 4 forks source link

docker-composeでエラーがでる #42

Closed knknk98 closed 3 years ago

knknk98 commented 3 years ago

🥺🥺🥺

$ docker-compose up
Building flask
#2 [internal] load .dockerignore
#2 sha256:d15e3281fc8d61a26b36c89a3c9901c7bf69486a202087f45c14fccb90a45d25
#2 ERROR: failed to create lease: write /var/lib/docker/buildkit/containerdmeta.db: read-only file system
#1 [internal] load build definition from Dockerfile
#1 sha256:a84c1892a442efc958d67677e2c947f4f5989ed7be44196fb06888740508ed2a
#1 ERROR: failed to create lease: write /var/lib/docker/buildkit/containerdmeta.db: read-only file system
------
 > [internal] load build definition from Dockerfile:
------
------
 > [internal] load .dockerignore:
------
failed to solve with frontend dockerfile.v0: failed to read dockerfile: failed to create lease: write /var/lib/docker/buildkit/containerdmeta.db: read-only file system
Service 'flask' failed to build
knknk98 commented 3 years ago
$ docker pull mysql:5.7
Error response from daemon: error creating temporary lease: write /var/lib/desktop-containerd/daemon/io.containerd.metadata.v1.bolt/meta.db: read-only file system: unknown
$ docker pull python:3.9
Error response from daemon: error creating temporary lease: write /var/lib/desktop-containerd/daemon/io.containerd.metadata.v1.bolt/meta.db: read-only file system: unknown
knknk98 commented 3 years ago
$ docker image inspect anime-tinder_db
[
    {
        "Id": "sha256:59bec9052aa3945a6a7a9053d9ca1dbc4e39ffa8ad591ce8f18436e058bcfb16",
        "RepoTags": [
            "anime-tinder_db:latest"
        ],
        "RepoDigests": [],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2021-03-17T07:51:58.9403866Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": null,
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "3306/tcp": {},
                "33060/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "GOSU_VERSION=1.12",
                "MYSQL_MAJOR=5.7",
                "MYSQL_VERSION=5.7.33-1debian10"
            ],
            "Cmd": [
                "mysqld"
            ],
            "ArgsEscaped": true,
            "Image": "",
            "Volumes": {
                "/var/lib/mysql": {}
            },
            "WorkingDir": "",
            "Entrypoint": [
                "docker-entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": null
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 448698192,
        "VirtualSize": 448698192,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/d9f460ca51a9b436a11211921993672d0d9b6d3f64672e02e3ef33dece75c113/diff:/var/lib/docker/overlay2/0605cd9150cab4c8ebeca336339d49c3132c64fe412687a984b6794f74e4cae3/diff:/var/lib/docker/overlay2/1706072a0d85bd6ea36726c51be8126cdb4f31520a963c93e59dac8c4da6797b/diff:/var/lib/docker/overlay2/92801c61f3ee1bc3cc1f658cdb1245a553e3a39cfee2db3a81e1ed0a223a62f8/diff:/var/lib/docker/overlay2/5caab8da21862b08ca11f53dd73a27240aca4e3e7844b88852fd038631513510/diff:/var/lib/docker/overlay2/12947c02059962368e5af82b9053c298996d66d6844153657c12f42331145952/diff:/var/lib/docker/overlay2/782c39ef6230bc94acf4aae75eee6eafc29607b90cd5feac4f1d1adc752d8200/diff:/var/lib/docker/overlay2/45e67bdfcff98f735854119f9c12d667914cb2709bc191b0e3e3216b5685d26e/diff:/var/lib/docker/overlay2/e8a2581d59717827942fe86ea913392ed2cfd7185b14a2a722eda8e8d02a6f8b/diff:/var/lib/docker/overlay2/790b619e66c549ae2b2590d83afe5a665d6bd3f699b061962ee9f7828aa38b6e/diff:/var/lib/docker/overlay2/18c7d393682ff309d1c54a4980bae180f6912b1390ad264b98f4203c22324e22/diff",
                "MergedDir": "/var/lib/docker/overlay2/8tnj5lt1k6s3zl6uf6n8116jt/merged",
                "UpperDir": "/var/lib/docker/overlay2/8tnj5lt1k6s3zl6uf6n8116jt/diff",
                "WorkDir": "/var/lib/docker/overlay2/8tnj5lt1k6s3zl6uf6n8116jt/work"
            },
            "Name": "overlay2"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:14a1ca976738392ffa2ae4e54934ba28ab9cb756e924ad9297a4795a4adbfdf6",
                "sha256:d792ac6ce3df813aaaabf0f7cc97ceeacf4dd0910b707cc8fe18f2c1e487b672",
                "sha256:4047822cf43b54add98789470270c853e368e2990780fff0408fdadff5a075c8",
                "sha256:680d36ad928000e6288c4ed0afb463f2435c90ab7fb388e3cadfabf33fd4db5b",
                "sha256:e930a1239cb94940acc14100c50e37e03bae3d44e16323c846347767723727f2",
                "sha256:933c0d9299add43c22789961efef7f69808083fed8c7cdad50a3c2c733b1a256",
                "sha256:6c3d34ac4e5f440e7cd5aabddc375e9c44be3cbbd30a4bc49c61aa8cb94319e2",
                "sha256:55b9958970e341e7db1fe1e79deb2640eb0c58fc6762682b71aa17337315bce0",
                "sha256:162d2594225bdc4fff725a45cf09f72457e73586c6bd8efb97cf72e9bf48514d",
                "sha256:d2268643864f96422f6806e3be87e2f957cf6cd4b12562a80e511189f628fc63",
                "sha256:4d2a5d3d02474dcbcba0229bbc11ac58bff7404c8906324ea3065abb43999416",
                "sha256:c9e936461e70394df0d6cb8c58c65bd9c7c39f03ba6bf6bb980820f09d150ed7"
            ]
        },
        "Metadata": {
            "LastTagTime": "2021-03-17T07:51:59.2164184Z"
        }
    }
]