tchughesiv / cf-mini

Docker image running Cloud Foundry Stack - listens on ports 80/443/4443
Apache License 2.0
19 stars 7 forks source link

Issue Deploying Hello App #12

Closed jsloyer closed 8 years ago

jsloyer commented 8 years ago

When I brought up the Docker container, I was watching the logs with docker attach. I get the following error.

Starting app hello in org DevBox / space dev as admin...
FAILED
Error restarting application: Server error, status code: 500, error code: 170011, message: Stager error: failed to stage application:
Failed setting memory limit: Permission denied @ rb_sysopen - /tmp/warden/cgroup/memory/instance-19qlg190n8c/memory.memsw.limit_in_bytes

I started the image with the following: docker --tls --tlscacert=ca.pem --tlscert=cert.pem --tlskey=key.pem -H=tcp://127.0.0.1:2376 run --privileged -v /lib/modules:/lib/modules:ro -p 80:80 -p 443:443 -p 4443:4443 -tdi tchughesiv/cf-mini