Building docker container

Hi all,

I was trying to build and deploy a docker images and noticed the cloud instance is more limited.

How would one publish docker images using the cloud instance. Is that possible?

This is my current config:

kind: pipeline
name: default

  - name: test
    image: docker/compose
      - name: docker_socket
        path: /var/run/docker.sock
      - ln -s env.template .env
      - docker-compose -f production.yml build
      - echo "$DOCKER_PASS" | docker login --username $DOCKER_USER --password-stdin
      - docker-compose push

    - name: docker_socket
        path: /var/run/docker.sock

Hello csgeek,

As mentioned by Brad Allowing access to the host-machine Docker socket would be the equivalent of granting root access to all servers, and thats why its restricted, could you please check and confirm if you are unable to mount folders as well(not socket), so that I can check and update accordingly.

Harness Support

Use the docker plugin

Thanks. I was trying to be fancier than I needed to be. The autotag feature works great.