question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Specify container command

See original GitHub issue

Is it possible to specify the container command via config? To use the docker stacks, command must be set to /usr/local/bin/singleuser.sh, but I can’t see how to do it here. In DockerSpawner, it’s passed to docker.create

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:23 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
yuvipandacommented, Mar 15, 2017

Ah, it currently just uses whatever is the ‘cmd’ in the Dockerfile. But yes, let’s add a customization option too.

0reactions
yuvipandacommented, May 19, 2017

Going to close this now since we’ve a tracking ticket on docker-stacks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Define a Command and Arguments for a Container - Kubernetes
This page shows how to define commands and arguments when you run a container in a Pod. Before you begin You need to...
Read more >
docker run - Docker Documentation
The docker run command first creates a writeable container layer over the specified image, and then starts it using the specified command.
Read more >
Start kubernetes container with specific command
Using fleet I can specify a command to be run inside the container when it is started. It seems like this should be...
Read more >
Container command args - Unofficial Kubernetes
The command field specifies the actual command run by the Container. The args field specifies the arguments passed to the command. This table...
Read more >
Using Commands and Arguments in a Kubernetes Pod
In order to define an argument within a container, we can make use of the command field. The moment we define commands, we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found