Docker run command in CircleCI

docker

#1

The (python pyramid) application which I want to test activates a docker run command.
Therefore I want to pull a docker image and make the docker command available.

version: 2
jobs:
  build:
    working_directory: ~/my_application
    docker:
      - image: continuumio/miniconda3
      - image: docker:17.05.0-ce-git


    steps:
      - checkout
      - setup_remote_docker:   # (2)
          docker_layer_caching: true # (3)
      - run:
          name: Pull Latex docker image
          command: |
              docker pull blang/latex

When I ssh into the circleci container, the docker command is not available.

/bin/bash: docker: command not found

#2

Idk what is in the continuumio/miniconda3 image but did you try installing Docker? You can’t use it unless you install it :slight_smile:


#3

continuumio/miniconda3 is a python distribution

how to install docker inside the container


#4