Skip to content

[202205][sonic-installer] use host docker startup arguments when running dockerd in chroot (#2179)#2407

Merged
liat-grozovik merged 1 commit intosonic-net:202205from
stepanblyschak:2205-fix-docker-opts
Oct 3, 2022
Merged

[202205][sonic-installer] use host docker startup arguments when running dockerd in chroot (#2179)#2407
liat-grozovik merged 1 commit intosonic-net:202205from
stepanblyschak:2205-fix-docker-opts

Conversation

@stepanblyschak
Copy link
Contributor

@stepanblyschak stepanblyschak commented Sep 28, 2022

Backport of #2179

Why I did it

I attempted to fix an issue that happens on multi-asic devices after new SONiC image installation. The issue is caused by overriding docker0 bridge configuration as well as installing iptables rules by dockerd started in chroot environment.

Fixes sonic-net/sonic-buildimage#10135

How I did it

I start dockerd in chroot using same parameters the host dockerd is started with.

How to verify it

Run VS multi-asic device.
Install a new image on it.
Verify "show version", "show interface status"

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

…erd in chroot

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
@liat-grozovik
Copy link
Collaborator

@stepanblyschak the backport PR is not correct. can you please fix it in the description?

@liat-grozovik liat-grozovik changed the title [202205][sonic-installer] use host docker startup arguments when running dockerd in chroot [202205][sonic-installer] use host docker startup arguments when running dockerd in chroot (#2179) Oct 3, 2022
@liat-grozovik liat-grozovik added Bug and removed Bug labels Oct 3, 2022
@liat-grozovik liat-grozovik merged commit be7da6b into sonic-net:202205 Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants