@patrickwml the COPY line takes a file from your host machine (the machine you are building the docker image on) and puts it inside the container image you are building. So /path/to/container/settings/file is wherever you put your settings file.
@arjunrajjain are you using stock recipes? Is your registry_email environment variable set?
oh whoops, that was the one env variable I was missing haha. Otherwise, after fixing that, i’ve been getting errors regarding “no space left on device” when I setup my instances now. I’m trying to get the failure logs, but Opsworks keeps on saying ACCESS DENIED when I try to download them…
^ I’m getting this error over and over again whenever my instances tried to pull from docker…it succeeds in pulling some of the images, but then it fails right at the end. It’s weird though…during the build process on my computer, there doesn’t seem to be anything excessive being bundled. In fact this meteor project is even smaller than one I’ve previously uploaded on Opsworks…any ideas?
Edit -
Ok going a bit further into this…it looks like redeployments are working finee…but owdocker::install is failing
Hi @arjunrajjain I have been having some issues (getting 404’s and 500’s on my docker images). It’s almost random on when this happens. I reached out to Docker Support and got this response:
Are you using a version of Docker that is less than 1.6?
If so could you upgrade and try again?
There have been some major changes on our backend that require upgrading to Docker versions greater than 1.6. (We’re migrating from V1 to V2)
I am using Nitrous Pro and ensured that I am running on 1.6
I cleaned up old images / containers with
docker rmi -f `docker images -aq`
and the rebuilt the container, pushed to dockerhub… It worked … but I am not sure if it was fluke or not.
Ah just to add… changed the stack settings to:
the Chef Version is 11.10
Berkshelf version3.2.0
OpsWorks Agent version3422 (Jun 29th 2015) (Changelog)
We get an error stating the instance setting has fail, but there are no logs files.
After a quick look around it seems like there’s no disk space.
The instance was started with EBS backed option. If I ssh into the box the space for /dev/xvda1 show as 97% used on a 78GB disk. @arjunrajjain was getting 100% or 99% used. Could there be an issue with allocating space on the image while it installs? This would also explain why there is not enough space for log files and the setup fails.(I am just guessing here).
Sorry I haven’t been that responsive. I’m currently working on a new deployment with ECS that will hopefully be way more reliable and much easier to set up since it would not have to deal with chef recipes at all. All config
@jkatzen thanks we did do a clean of the docker images (with docker rmi command above) … but that’s only on the build machine, right? ie this issue is on the new instance as it’s starting up… or are yo saying ssh into thar and run these commands?
@adamgins: Oh that’s interesting - perhaps when using opsworks, is it possible that it is attaching the same drive at /dev/xvda1 for all of them? If so, then will need a way to clean up the shared space
Delving a bit deeper - @adamgins@jkatzen
I sshed into the container and it seems like the meteor app is running fine, but I don’t know why it says the setup failed :
Anyone run into issues with IE? When running locally, IE loads my site just fine. However, after deploying I get a blank screen for IE. Other browsers are fine.
Have been using this setup (with a few local mods) for some time now. However, it seems it depends on the chef-docker project (https://github.com/bflad/chef-docker) which has since abandoned support for chef < 12. So, when I redeploy or restart existing servers, I don’t seem to have issues. But when I start a new one from scratch, I get errors.
Anyone else run into this? Am I just doing something wrong? Thanks for any tips.