Class DockerImageImpl

  • All Implemented Interfaces:
    HasTextRange, Tree, DockerImage, DockerTree, HasScope

    public class DockerImageImpl
    extends AbstractDockerTreeImpl
    implements DockerImage
    Represent a Docker image and it's related instructions. A docker image is constituted first of a FROM instruction. Every following instructions until the next FROM instruction are associated to this image. A Dockerfile can contain zero (empty file) to any amount of images. Example of a Dockerfile with two DockerImage defined in it (one instruction for each) : FROM ubuntu:latest MAINTAINER bob FROM ubuntu:14.04 EXPOSE 80/tcp