While trying to setup the containers using docker-compose on Macos 10.14.1, I encountered the following error.
Step 13/17 : RUN sudo apt-get install iofog-agent
_ —> Running in 4cb9cbcd28a3_
Reading package lists…
Building dependency tree…
Reading state information…
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 34 not upgraded.
Need to get 20.6 MB of archives.
After this operation, 22.9 MB of additional disk space will be used.
Get:1 https://packagecloud.io/iofog/iofog-agent/ubuntu/ trusty/main iofog-agent all 1.0.2 [20.6 MB]
Fetched 20.6 MB in 10s (1896 kB/s)
E: Failed to fetch https://packagecloud.io/iofog/iofog-agent/ubuntu/pool/trusty/main/i/iofog-agent/iofog-agent_1.0.2_all.deb Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ERROR: Service ‘iofog-agent-1’ failed to build: The command ‘/bin/sh -c sudo apt-get install iofog-agent’ returned a non-zero code: 100
Docker version - Docker version 18.09.0, build 4d60db4
Compose version - docker-compose version 1.23.2, build 1110ad01