Command is this: zhaodong @ zhaodong - Lenovo G460: ~ $docker build -t jamtur01/nginx
Always appear such tip: docker: "build" the requires 1 argument. See 'docker build -- help'.
O master
CodePudding user response:
Docker: "build" the requires 1 argument. See 'docker build -- help'CodePudding user response:
Docker build - tag="ouruser/sinatra: v3" - & lt; DockerfileCodePudding user response:
Docker build -t jamtur01/nginx & lt; Dockerfile directory & gt;If is the current directory, simply enter "docker build - t jamtur01/nginx.".
CodePudding user response:
Docker build - t jamtur01/nginx.CodePudding user response:
Docker import
Docker: "import" requires a minimum of 1 argument.
See the 'docker import -- help'.
Usage: docker import [OPTIONS] file | | - URL [REPOSITORY [: TAG]]
Import the contents from a tarball to create a filesystem image
Seem to.
CodePudding user response:
A lessDocker build - t jamtur01/nginx.
CodePudding user response:
Finally add a space, one in English, OKCodePudding user response:
Command a English less "."CodePudding user response:
A hole, the place is dockerfile file name, must be dockerfileDon't thank!
CodePudding user response:
Upstairs positive solution, also solved my questionCodePudding user response:
Also encounter this problem, the docker: "build" the requires 1 argument.Solution docker build -t runoob/centos: 6.7. (space)