Skip to content

Instantly share code, notes, and snippets.

@josephwegner
Last active December 27, 2015 03:29
Show Gist options
  • Save josephwegner/7259619 to your computer and use it in GitHub Desktop.
Save josephwegner/7259619 to your computer and use it in GitHub Desktop.
Waltz Dokku Duckfile

I'm getting the following when I try to push to the dokku instance:

  Josephs-MacBook-Pro:cydoemus josephwegner$ git push waltz master
 Counting objects: 1125, done.
 Delta compression using up to 4 threads.
 Compressing objects: 100% (888/888), done.
 Writing objects: 100% (1125/1125), 1.35 MiB | 0 bytes/s, done.
 Total 1125 (delta 229), reused 850 (delta 114)
 -----> Building api ...
 remote: 2013/10/31 20:52:24 dial unix /var/run/docker.sock: permission denied
 remote:       ERROR: failed on rev 435a00ee6bc86df5648c24a2a50085ac20e17f6c - push denied
 To [email protected]:api
  ! [remote rejected] master -> master (pre-receive hook declined)
 error: failed to push some refs to '[email protected]:api'

this github issue seems to say that I can just set 777 to the docker socket. I'm not really sure what the security risk behind that is, so I'm going to do it for now.

This is in bold, because I really want you to read the above. I set the permissions to 777, which is important

OK, now I can push again, but I'm getting our normal permissions errors.

I just went to the dokku repo, and noticed they have in bold text, "Note: There are known issues with docker and Ubuntu 13.10 (1, 2, 3) - use of 13.04 is reccomended until these issues are resolved."

  root@waltz:~# lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 13.10
  Release:	13.10
  Codename:	saucy

Looks like we're on 13.10. We should probably downgrade to 13.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment