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 the path to the docker config file

See original GitHub issue

I’d like to specify the path to my Docker config file, by default it reads it from ${user.home}/.docker/config.json.

I can see from CredentialRetrieverFactory#dockerConfig(java.nio.file.Path) that it’s possible, however the documentation does not specify how to do it.

Thank you for your help.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
chanseokohcommented, Apr 13, 2020

The environment variable makes sense.

In the future we can add a config parameter or system property if it makes sense.

When deciding this, one factor is that this config is highly platform-dependent.

0reactions
jontrocommented, May 27, 2020

Thanks! can confirm this now works out of the box. Great work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Store configuration data using Docker Configs
The location of the mount point within the container defaults to /<config-name> in Linux containers. In Windows containers, configs are all mounted into...
Read more >
Correct way with docker run to path to config file and runtime ...
0 linux binary, we thought we'd try docker on our production environment. How do we set the --config and --runtime.path properties for docker...
Read more >
What is the location of config file in Docker 1.9? - Stack Overflow
1 Answer 1 · Docker - edit the docker-engine systemd config file /usr/lib/systemd/system/docker.service with your required options · Centos - copy ...
Read more >
Configure Docker client with a configuration file?
By default, the Docker command line stores its configuration files in a directory called .docker within your $HOME directory. Docker manages ...
Read more >
Configuring Docker Containers - IBM
Ensure that this configuration file is named as seas_config_file . and placed on the Storage Volume that is mapped to /seasinstall/resources path inside...
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