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
push to docker-archive, cannot start in docker #5489
Comments
For completness, this is what the container looks like in
{
"Type": "buildah 0.0.1",
"FromImage": "",
"FromImageID": "7e6deb616bab61297dfbbb728e541dff396d5475a98cc60fef4d27040007a238",
"FromImageDigest": "sha256:68dd71cb5eefffdb415ccfd7b7cdc03463cce6201e6ecc782de0cbd343ebc3f4",
"GroupAdd": null,
"Config": "{\"created\":\"2024-04-24T22:45:49.537022053Z\",\"container\":\"a0e4c31dfcdd4c57238e9b35fbba3164be1e63f43f87b6b5fa690a4067f84d67\",\"container_config\":{\"Hostname\":\"9cdd21a7cd89\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"ExposedPorts\":{\"3000/tcp\":{}},\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\"NODE_VERSION=18.20.2\",\"YARN_VERSION=1.22.19\"],\"Cmd\":[\"node\",\"src/index.js\"],\"Image\":\"sha256:f79116a5f3aa2f3fed8763270df2155e6105ee5add722f2da0a516b7f04e9cd4\",\"Volumes\":{},\"WorkingDir\":\"/app\",\"Entrypoint\":[\"docker-entrypoint.sh\"],\"OnBuild\":[],\"Labels\":{\"io.buildah.version\":\"1.33.7\"}},\"config\":{\"Hostname\":\"9cdd21a7cd89\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"ExposedPorts\":{\"3000/tcp\":{}},\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\"NODE_VERSION=18.20.2\",\"YARN_VERSION=1.22.19\"],\"Cmd\":[\"node\",\"src/index.js\"],\"Image\":\"sha256:f79116a5f3aa2f3fed8763270df2155e6105ee5add722f2da0a516b7f04e9cd4\",\"Volumes\":{},\"WorkingDir\":\"/app\",\"Entrypoint\":[\"docker-entrypoint.sh\"],\"OnBuild\":[],\"Labels\":{\"io.buildah.version\":\"1.33.7\"}},\"architecture\":\"amd64\",\"os\":\"linux\",\"rootfs\":{\"type\":\"layers\",\"diff_ids\":[\"sha256:a9b5c91e135f50361e86ef92a823db46b49ab4eb6d573ecb564146fd98d80e4b\"]},\"history\":[{\"created\":\"2024-04-24T22:45:40.387071981Z\",\"created_by\":\"/bin/sh -c #(nop) WORKDIR /app\",\"empty_layer\":true},{\"created\":\"2024-04-24T22:45:40.653654236Z\",\"created_by\":\"/bin/sh -c #(nop) COPY dir:c3c71aafb79873f34277e8aeb379755a623f3d38b9733610698ffe860fa5bf5e in . \",\"empty_layer\":true},{\"created\":\"2024-04-24T22:45:49.484275825Z\",\"created_by\":\"/bin/sh -c yarn install --production\",\"empty_layer\":true},{\"created\":\"2024-04-24T22:45:49.510496594Z\",\"created_by\":\"/bin/sh -c #(nop) CMD [\\\"node\\\", \\\"src/index.js\\\"]\",\"empty_layer\":true},{\"created\":\"2024-04-24T22:45:53.29302891Z\",\"created_by\":\"/bin/sh -c #(nop) EXPOSE 3000\",\"comment\":\"FROM docker.io/library/node:18-alpine\"}]}",
"Manifest": "{\"schemaVersion\":2,\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"config\":{\"mediaType\":\"application/vnd.docker.container.image.v1+json\",\"size\":2093,\"digest\":\"sha256:7e6deb616bab61297dfbbb728e541dff396d5475a98cc60fef4d27040007a238\"},\"layers\":[{\"mediaType\":\"application/vnd.docker.image.rootfs.diff.tar\",\"size\":228850176,\"digest\":\"sha256:a9b5c91e135f50361e86ef92a823db46b49ab4eb6d573ecb564146fd98d80e4b\"}]}",
"Container": "",
"ContainerID": "",
"MountPoint": "",
"ProcessLabel": "",
"MountLabel": "",
"ImageAnnotations": {},
"ImageCreatedBy": "",
"OCIv1": {
"created": "2024-04-24T22:45:49.537022053Z",
"architecture": "amd64",
"os": "linux",
"config": {
"ExposedPorts": {
"3000/tcp": {}
},
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=18.20.2",
"YARN_VERSION=1.22.19"
],
"Entrypoint": [
"docker-entrypoint.sh"
],
"Cmd": [
"node",
"src/index.js"
],
"WorkingDir": "/app",
"Labels": {
"io.buildah.version": "1.33.7"
}
},
"rootfs": {
"type": "layers",
"diff_ids": [
"sha256:a9b5c91e135f50361e86ef92a823db46b49ab4eb6d573ecb564146fd98d80e4b"
]
},
"history": [
{
"created": "2024-04-24T22:45:40.387071981Z",
"created_by": "/bin/sh -c #(nop) WORKDIR /app",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:40.653654236Z",
"created_by": "/bin/sh -c #(nop) COPY dir:c3c71aafb79873f34277e8aeb379755a623f3d38b9733610698ffe860fa5bf5e in . ",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:49.484275825Z",
"created_by": "/bin/sh -c yarn install --production",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:49.510496594Z",
"created_by": "/bin/sh -c #(nop) CMD [\"node\", \"src/index.js\"]",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:53.29302891Z",
"created_by": "/bin/sh -c #(nop) EXPOSE 3000",
"comment": "FROM docker.io/library/node:18-alpine"
}
]
},
"Docker": {
"created": "2024-04-24T22:45:49.537022053Z",
"container": "a0e4c31dfcdd4c57238e9b35fbba3164be1e63f43f87b6b5fa690a4067f84d67",
"container_config": {
"Hostname": "9cdd21a7cd89",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"3000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=18.20.2",
"YARN_VERSION=1.22.19"
],
"Cmd": [
"node",
"src/index.js"
],
"Image": "sha256:f79116a5f3aa2f3fed8763270df2155e6105ee5add722f2da0a516b7f04e9cd4",
"Volumes": {},
"WorkingDir": "/app",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": [],
"Labels": {
"io.buildah.version": "1.33.7"
}
},
"config": {
"Hostname": "9cdd21a7cd89",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"3000/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=18.20.2",
"YARN_VERSION=1.22.19"
],
"Cmd": [
"node",
"src/index.js"
],
"Image": "sha256:f79116a5f3aa2f3fed8763270df2155e6105ee5add722f2da0a516b7f04e9cd4",
"Volumes": {},
"WorkingDir": "/app",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": [],
"Labels": {
"io.buildah.version": "1.33.7"
}
},
"architecture": "amd64",
"os": "linux",
"rootfs": {
"type": "layers",
"diff_ids": [
"sha256:a9b5c91e135f50361e86ef92a823db46b49ab4eb6d573ecb564146fd98d80e4b"
]
},
"history": [
{
"created": "2024-04-24T22:45:40.387071981Z",
"created_by": "/bin/sh -c #(nop) WORKDIR /app",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:40.653654236Z",
"created_by": "/bin/sh -c #(nop) COPY dir:c3c71aafb79873f34277e8aeb379755a623f3d38b9733610698ffe860fa5bf5e in . ",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:49.484275825Z",
"created_by": "/bin/sh -c yarn install --production",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:49.510496594Z",
"created_by": "/bin/sh -c #(nop) CMD [\"node\", \"src/index.js\"]",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:53.29302891Z",
"created_by": "/bin/sh -c #(nop) EXPOSE 3000",
"comment": "FROM docker.io/library/node:18-alpine"
}
]
},
"DefaultMountsFilePath": "",
"Isolation": "oci",
"NamespaceOptions": [
{
"Name": "cgroup",
"Host": false,
"Path": ""
},
{
"Name": "ipc",
"Host": false,
"Path": ""
},
{
"Name": "mount",
"Host": false,
"Path": ""
},
{
"Name": "network",
"Host": false,
"Path": ""
},
{
"Name": "pid",
"Host": false,
"Path": ""
},
{
"Name": "user",
"Host": true,
"Path": ""
},
{
"Name": "uts",
"Host": false,
"Path": ""
}
],
"Capabilities": null,
"ConfigureNetwork": "NetworkDefault",
"CNIPluginPath": "",
"CNIConfigDir": "",
"IDMappingOptions": {
"HostUIDMapping": true,
"HostGIDMapping": true,
"UIDMap": [],
"GIDMap": [],
"AutoUserNs": false,
"AutoUserNsOpts": {
"Size": 0,
"InitialSize": 0,
"PasswdFile": "",
"GroupFile": "",
"AdditionalUIDMappings": null,
"AdditionalGIDMappings": null
}
},
"History": [
{
"created": "2024-04-24T22:45:40.387071981Z",
"created_by": "/bin/sh -c #(nop) WORKDIR /app",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:40.653654236Z",
"created_by": "/bin/sh -c #(nop) COPY dir:c3c71aafb79873f34277e8aeb379755a623f3d38b9733610698ffe860fa5bf5e in . ",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:49.484275825Z",
"created_by": "/bin/sh -c yarn install --production",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:49.510496594Z",
"created_by": "/bin/sh -c #(nop) CMD [\"node\", \"src/index.js\"]",
"empty_layer": true
},
{
"created": "2024-04-24T22:45:53.29302891Z",
"created_by": "/bin/sh -c #(nop) EXPOSE 3000",
"comment": "FROM docker.io/library/node:18-alpine"
}
],
"Devices": null
} |
Do you get the same error when attempting to run the container with podman? |
Use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I might be doing something wrong, but lets go:
Debian testing, amd64
Lets try to run it:
The container "works" fine in buildah:
The text was updated successfully, but these errors were encountered: