build builder buildx [root@localhost nfs]# docker build . [+] Building 0.1s (1/1) FINISHED docker:default => [internal] load build definition from dockerfile 0.0s => => transferring dockerfile: 151B 0.0s dockerfile:3 -------------------- 1 | FROM centos 2 | MAINTAINER nfs 3 | >>> VOLUNAME ['/data1','/etc'] 4 | -------------------- ERROR: failed to solve: dockerfile parse error on line 3: unknown instruction: VOLUNAME (did you mean VOLUME?) [root@localhost nfs]# ls dockerfile [root@localhost nfs]# vim dockerfile [root@localhost nfs]# vim dockerfile [root@localhost nfs]# docker build . [+] Building 6.6s (2/2) FINISHED docker:default => [internal] load build definition from dockerfile 0.0s => => transferring dockerfile: 149B 0.0s => ERROR [internal] load metadata for docker.io/library/centos:latest 6.6s ------ > [internal] load metadata for docker.io/library/centos:latest: ------ dockerfile:1 -------------------- 1 | >>> FROM centos 2 | MAINTAINER nfs 3 | VOLUME ['/data1','/etc'] -------------------- ERROR: failed to solve: centos: failed to resolve source metadata for docker.io/library/centos:latest: encountered unknown type text/html; children may not be fetched