Where is daemon.json for docker ?

Where is the dameon.json file for docker on Manjaro ?

Its seems to be completely missing.

I have installed docker in the following fashion:

sudo pacman -S docker

So it must have installed this package.

Its not in /etc/docker:

ls /etc/docker
keys.json

locate can't find it:

locate daemon.json

I want to move my image directory to another partition.

Symlinks have not worked, so how can I configure docker on Manjaro ?

You have to create the file, same as for any distro.

Read the Docker documentation. This is not a Manjaro-specific issue.

1 Like

I dont use docker .. but grepping from the pkg db shows

This for 'daemon's

    opt/metasploit/modules/exploits/linux/http/docker_daemon_tcp.rb
    opt/metasploit/modules/exploits/linux/local/docker_daemon_privilege_escalation.rb
    usr/share/doc/metasploit/modules/exploit/linux/http/docker_daemon_tcp.md
    opt/vagrant/embedded/gems/gems/vagrant-2.2.7/plugins/provisioners/docker/cap/linux/docker_daemon_running.rb
    opt/vagrant/embedded/gems/gems/vagrant-2.2.7/plugins/provisioners/docker/cap/windows/docker_daemon_running.rb

and this for 'json's

    usr/lib/code/extensions/docker/syntaxes/docker.tmLanguage.json
    usr/share/man/man5/docker-config-json.5.gz
    usr/share/webapps/gitlab-gitaly/ruby/vendor/bundle/ruby/2.7.0/gems/github-linguist-7.5.1/grammars/source.dockerfile.json
    usr/share/idea/plugins/textmate/lib/bundles/docker/syntaxes/docker.tmLanguage.json
    usr/share/metricbeat/kibana/7/dashboard/Metricbeat-docker-overview.json
    usr/share/pycharm/plugins/textmate/lib/bundles/docker/syntaxes/docker.tmLanguage.json

(ach. yeah. as usual, listen to @jonathon :wink:)

1 Like

Why are you showing me files from metasploit ? I don't understand.

Thank you so much.

I will do that and thanks for letting me know, linking the appropriate docs for future reference.

Edit the daemon.json file, which is usually located in /etc/docker/ . You may need to create this file, if it does not yet exist. On macOS or Windows, do not edit the file directly. Instead, go to Preferences / Daemon / Advanced .

It is worthless to your query now .. but if you ask ..

To see the files provided by a package (not installed) you can run something like

sudo pacman -Fyx docker

I then grepped for your query like

sudo pacman -Fyx docker | grep daemon

But again .. I was offering that look .. I dont use docker .. jonathon seems to know that this is just part of setup that you have skipped. so .. go read the docker documentation I guess.

No idea. Not my docs :wink:

The archwiki is usually a superb resource though:
https://wiki.archlinux.org/index.php/Docker

1 Like

Yeah, I kinda found it. In docker docs itself and not the arch wiki, sorry for wasting your time.

cool. care to share the link and maybe we can mark that as solution ?

I already did that. And the link is on this post.

ah so you did. I dont necessarily get notified of edits. well. cheers. :slight_smile:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by