Skip to content

Docker In Docker for code-server #199

Closed
@Rakiah

Description

@Rakiah

I've been trying to fiddle with the Dockerfile of code-server to add support for Docker in Docker but without success, I tried numerous ubuntu images but then code-server will have problem running:

those are the ones I tested:
https://hub.docker.com/r/billyteves/ubuntu-dind
https://hub.docker.com/r/jazzypro/ubuntu-dind
https://hub.docker.com/r/ciiichy/ubuntu-dind-git
https://hub.docker.com/r/ceregousa/dind
https://hub.docker.com/r/huksley/ubuntu-dind/dockerfile

most of the times i'm getting

{"data":"Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /root/project/.local/share/code-server/dependencies/spdlog.node)\n    at Object.Module._extensions..node (module.js:682:18)\n    at Module.load (module.js:566:32)\n    at tryModuleLoad (module.js:506:12)\n    at Function.Module._load (module.js:498:3)\n    at Module.require (module.js:597:17)\n    at Module.patchedRequire [as require] (eval at exports.requireModule (/usr/local/bin/code-server:468:27625), <anonymous>:6615:46)\n    at require (internal/module.js:11:18)\n    at f (/usr/local/bin/code-server:2281:1092)\n    at u (/usr/local/bin/code-server:2281:1344)\n    at c (/usr/local/bin/code-server:2281:2750)\n    at b.require (/usr/local/bin/code-server:2281:3346)\n    at Object../lib/vscode/node_modules/spdlog/index.js (eval at exports.requireModule (/usr/local/bin/code-server:468:27625), <anonymous>:28679:16)\n    at __webpack_require__ (eval at exports.requireModule (/usr/local/bin/code-server:468:27625), <anonymous>:26:30)\n    at Object.createSpdLogService (eval at exports.requireModule (/usr/local/bin/code-server:468:27625), <anonymous>:157268:29)\n    at main (eval at exports.requireModule (/usr/local/bin/code-server:468:27625), <anonymous>:77357:92)\n    at eval (eval at exports.requireModule (/usr/local/bin/code-server:468:27625), <anonymous>:77449:13)\n    at Generator.next (<anonymous>)\n    at fulfilled (eval at exports.requireModule (/usr/local/bin/code-server:468:27625), <anonymous>:77333:58)\n    at <anonymous>\n    at process._tickCallback (internal/process/next_tick.js:189:7)\n"}
code-server_1     | INFO  Retrying shared process in 8s {"error":"Exited with null"}

when code-server is trying to boot up, do you have any idea to do what i'm trying to achieve ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions