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.

Allow String? for 'docker' RuntimeAttribute

See original GitHub issue

In other words, we should validate docker as an optional string so that we can do things like this:

task foo {
  String? dockerName
  command { ... }
  runtime {
    docker: dockerName
  }
  output { ... }
}

The expected behaviour here is:

  • If dockerName is set, use docker and use the specified image name
  • If dockerName is not set, do not use docker.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:27 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
LeeTL1220commented, Sep 20, 2018

@ruchim We are getting a lot of questions about being able to run local/SGE without docker at the Spain workshop… Not just Spanish people, but from several countries.

0reactions
aednicholscommented, Mar 4, 2019

Another point that Eric and I came across is that a “Docker in Docker” solution - i.e. installing Docker inside the Docker container where he’s running Cromwell - is not good either because it necessitates pushing and re-pulling the Docker image he’s iterating on, which makes for annoyingly long cycle times and can’t work with bad or no Internet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker run reference
Configure containers at runtime. ... The PID Namespace removes the view of the system processes, and allows process ids to be reused including...
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. That...
Read more >
Use the Docker command line
Docker's CLI command description and usage.
Read more >
docker service create - Docker Documentation
Use the --secret flag to give a container access to a secret. ... This option sets the docker service containers hostname to a...
Read more >
Store configuration data using Docker Configs
How to store configuration data separate from the runtime. ... Docker swarm service configs allow you to store non-sensitive information, ...
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