0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-22 10:10:39 +00:00

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:
Mikkel Oscar Lyderik 2016-01-28 19:08:18 +01:00
parent ebc61e15fe
commit 2f460f48f8

View File

@ -93,7 +93,7 @@ func main() {
} }
go func() { go func() {
args := []string{"-d"} args := []string{"daemon"}
if len(vargs.Storage) != 0 { if len(vargs.Storage) != 0 {
args = append(args, "-s", vargs.Storage) args = append(args, "-s", vargs.Storage)