- Não estou conseguindo criar a imagem docker com docker build, estou executando da seguinte forma:
root@henrique-IdeaPad-3-15ITL6:/home/henrique/Downloads/teste-conteiner-ubuntu# docker build -t sectormoon/ubuntu-imagem-personalizada:latest
ERROR: docker: 'docker buildx build' requires 1 argument
Usage: docker buildx build [OPTIONS] PATH | URL | -
Run 'docker buildx build --help' for more information
root@henrique-IdeaPad-3-15ITL6:/home/henrique/Downloads/teste-conteiner-ubuntu#
- Criei corretamente o arquivo Dockerfile dentro da diretorio:
root@henrique-IdeaPad-3-15ITL6:/home/henrique/Downloads/teste-conteiner-ubuntu# ls
Dockerfile
root@henrique-IdeaPad-3-15ITL6:/home/henrique/Downloads/teste-conteiner-ubuntu#
- O arquivo Dockerfile possui o seguinte conteudo:
FROM ubuntu:latest
LABEL description="Imagem Docker Personalizada"