client: Resoveconf -> Resolvconf
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
b2ee0ab34e
commit
5f7c527ed5
@ -176,8 +176,8 @@ func WithHostHostsFile(s *specs.Spec) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// WithHostResoveconf bind-mounts the host's /etc/resolv.conf into the container as readonly
|
||||
func WithHostResoveconf(s *specs.Spec) error {
|
||||
// WithHostResolvconf bind-mounts the host's /etc/resolv.conf into the container as readonly
|
||||
func WithHostResolvconf(s *specs.Spec) error {
|
||||
s.Mounts = append(s.Mounts, specs.Mount{
|
||||
Destination: "/etc/resolv.conf",
|
||||
Type: "bind",
|
||||
|
Loading…
Reference in New Issue
Block a user