Skip to content

Code-server, podman, systemd, quadlets, socket #7073

Answered by code-asher
EvVlF asked this question in Q&A
Discussion options

You must be logged in to vote

If I understand correctly, this meant to start/stop a container on demand? From my brief reading it seems like it would be possible to do:

systemd-socket-activate -l 8080 podman run --rm --network=none codercom/code-server

But I am not sure.

To answer your question, no, we do not have any kind of socket activation. We do have a wrapper that only starts VS Code processes when we get the first HTTP request though.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@EvVlF
Comment options

Answer selected by EvVlF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants