artifacts do not work gitlab-runner

My gitlab-ce:

  • GitLab 11.0.1 (gitlab-ce@bf968f8a3fd4f969e06e0588407ac04a14cfd7dd)

  • GitLab Shell 7.1.4

  • GitLab Workhorse v4.3.1

  • GitLab API v4

  • Ruby 2.4.4p296

  • Rails 4.2.10

  • postgresql 9.6.8

My-runner:

  • Version: 11.1.0

  • Git revision: 081978aa

  • Git branch:

  • GO version: go1.8.7

  • Built: 2018-07-22T07:24:46+00:00

  • OS/Arch: linux/amd64

My problem:

If you run the job through the executors shell then artifacts work, and if you run through the executors docker, then an error occurs:

  • WARNING: Uploading artifacts to coordinator... failed id=1855 responseStatus=200 OK status=200 OK token=xxxxxxx

  • WARNING: Retrying...

  • WARNING: Uploading artifacts to coordinator... failed id=1855 responseStatus=200 OK status=200 OK token=xxxxxxx

  • WARNING: Retrying...

  • WARNING: Uploading artifacts to coordinator... failed id=1855 responseStatus=200 OK status=200 OK token=xxxxxxx

  • FATAL: invalid argument

  • ERROR: Job failed: exit code 1