Change deprecated argument -d -> daemon
Running `docker -d` is deprecated since [1]. [1]: https://docs.docker.com/engine/misc/deprecated/#old-command-line-options
This commit is contained in:
parent
ebc61e15fe
commit
2f460f48f8
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -93,7 +93,7 @@ func main() {
|
|||
}
|
||||
|
||||
go func() {
|
||||
args := []string{"-d"}
|
||||
args := []string{"daemon"}
|
||||
|
||||
if len(vargs.Storage) != 0 {
|
||||
args = append(args, "-s", vargs.Storage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue