Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose throws error after 1.13 update #1

Open
norbertpapp opened this issue Jan 23, 2017 · 0 comments
Open

docker-compose throws error after 1.13 update #1

norbertpapp opened this issue Jan 23, 2017 · 0 comments

Comments

@norbertpapp
Copy link

Hello,
if do you maintain this project, could you help me please? 😿
I'm using your docker image to create dev environment for WHMCS development and tweaks, until Docker 1.13 update, worked almost like charm (except license verification issues), but now it's completely broken, Docker cannot build the image.

My docker-compose.yml:

version: '2'

services:
  whmcs:
    build: .
    links:
      - mysql
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./public:/usr/share/nginx/html
    networks:
      fixip:
        ipv4_address: x.x.x.x
  mysql:
    image: mysql
    volumes:
      - ./dev/migrations:/docker-entrypoint-initdb.d
    environment:
      MYSQL_ROOT_PASSWORD: dev
      MYSQL_USER: dev
      MYSQL_PASSWORD: dev
      MYSQL_DATABASE: dev
    networks:
      fixip:
        ipv4_address: x.x.x.x
networks:
  fixip:
    driver: bridge
    ipam:
      driver: default
      config:
      - subnet: x.x.x.x/16
        ip_range: x.x.x.x/24
        gateway: x.x.x.x

The error:

Building whmcs
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "compose/cli/main.py", line 64, in main
  File "compose/cli/main.py", line 116, in perform_command
  File "compose/cli/main.py", line 848, in up
  File "compose/project.py", line 389, in up
  File "compose/service.py", line 302, in ensure_image_exists
  File "compose/service.py", line 786, in build
  File "site-packages/docker/api/build.py", line 139, in build
  File "site-packages/docker/utils/utils.py", line 105, in tar
  File "tarfile.py", line 2046, in addfile
AttributeError: 'NoneType' object has no attribute 'tobuf'
docker-compose returned -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant