Sign inSign up

almacelesteorg/hola

By almacelesteorg

•Updated over 2 years ago

example of creating a hello-world image

Image
1

177

almacelesteorg/hola repository overview

⁠How to create and publish an image

⁠Create a dockerfile

Dockerfile:

FROM alpine
RUN echo echo ¡hola, mundo! >> /root/.rc
ENV ENV=/root/.rc
ENTRYPOINT exec sleep infinity

⁠Build an image

docker build . --tag almacelesteorg/hola

⁠Login to the docker repository

docker login

⁠Push the image to the repository

docker push almacelesteorg/hola

Tag summary

Content type

Image

Digest

sha256:a546e57ea…

Size

3.3 MB

Last updated

over 2 years ago

docker pull almacelesteorg/hola