• Home
  • Raw
  • Download

Lines Matching full:docker

7 You can find a number of sources to build docker images with LLVM components in
8 ``llvm/utils/docker``. They can be used by anyone who wants to build the docker
14 to fill out in order to produce Dockerfiles for a new docker image.
18 Docker images provide a way to produce binary distributions of
19 software inside a controlled environment. Having Dockerfiles to builds docker images
23 Docker basics
25 If you've never heard about Docker before, you might find this section helpful
27 `Docker <https://www.docker.com/>`_ is a popular solution for running programs in
32 A single active instance of dockerized environment is called a *docker
34 A snapshot of a docker container filesystem is called a *docker image*.
35 One can start a container from a prebuilt docker image.
37 Docker images are built from a so-called *Dockerfile*, a source file written in
39 the docker image (see `official
40 documentation <https://docs.docker.com/engine/reference/builder/>`_ for more
43 image, docker will first download your base image, mount its filesystem as
51 The ``llvm/utils/docker`` folder contains Dockerfiles and simple bash scripts to
52 serve as a basis for anyone who wants to create their own Docker image with
63 If you want to write your own docker image, start with an ``example/`` subfolder.
72 building LLVM inside docker container.
74 Here's a very simple example of getting a docker image with clang binary,
79 ./llvm/utils/docker/build_docker_image.sh \
81 --docker-repository clang-debian8 --docker-tag "staging" \
97 --docker-repository clang-debian8 --docker-tag "staging" \
111 docker run -ti clang-debian8:staging bash
143 you should choose nvidia-cuda-based image and use `nvidia-docker
144 <https://github.com/NVIDIA/nvidia-docker>`_ to run your docker containers. Note
145 that you don't need nvidia-docker to build the images, but you need it in order
146 to have an access to GPU from a docker container that is running the built
152 Any docker image can be built and run using only the docker binary, i.e. you can
155 during the build process inside Docker's isolated environment.
165 ./llvm/utils/docker/build_docker_image.sh \
173 Minimizing docker image size
175 Due to how Docker's filesystem works, all intermediate writes are persisted in
177 To minimize the resulting image size we use `multi-stage Docker builds
178 <https://docs.docker.com/develop/develop-images/multistage-build/>`_.
179 Internally Docker builds two images. The first image does all the work: installs