Skip to content

Commit

Permalink
docs: add code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
deviantony committed Oct 17, 2023
1 parent ffa7955 commit be31429
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/adapter/container_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ func (adapter *KubeDockerAdapter) buildContainerConfigurationFromExistingContain
},
}

// We set the ulimits to nil because Podman is not able to create the container when inheriting the ulimits
// from the previous container configuration.
containerConfiguration.HostConfig.Resources.Ulimits = nil

return containerConfiguration, nil
Expand Down

0 comments on commit be31429

Please sign in to comment.