Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docker): apply configuration on first boot #1097

Merged
merged 1 commit into from
Aug 6, 2024

Commits on Aug 6, 2024

  1. fix(docker): apply configuration on first boot

    The initialization sequence is:
     (1) VM boot
     (2) Write daemon configuration
    
    When the VM boot, the Docker systemd service is started, so the
    new configuration is not picked up until the next VM boot.
    
    To fix this, reload the systemd daemon config (to pick up the
    systemd service file written by `addHostGateway`) and then restart
    the Docker systemd service, which will use the new systemd unit
    file as well as any customizations to `daemon.json`.
    milas committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    ac44bbc View commit details
    Browse the repository at this point in the history