Comments (5)
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/89843986.
from diego-release.
Hi @HelloLin - our goal is to eventually support Docker images without the need for any modification. The largest remaining gap is around support for users and groups -- our goal is to honor the Docker USER directive and create whatever user is specified in the Dockerfile that generated the Docker image. That should resolve all your issues simultaneously.
However, we have a number of higher priority items at this point but will try to address this as soon as we can.
For now, your best bet is to open up the permissions on your container file system to allow an arbitrary user to successfully launch the application (for example, you may need to change the permissions on the destination file that your script attempts to write to).
from diego-release.
@onsi thank you for your answer. in fact, i find there is a struct define for specify the user when start the container, but default set to vcap or root. so i solve it by adding a script in "/var/vcap/packages/garden-linux/skeleton/setup.sh"
if [ -d "$rootfs_path/mydir/" ]; then
chroot $rootfs_path chown -R vcap:vcap /mydir
fi
in this way i can write to this dir, but, is this a good way to solve this question?,if mydir is big enough, it will take me a long time.
is diego will support to push a dockerfile to create a app in the feature?
the most important question is when the community will publish the release which eventually support Docker images?
thank you very much.
from diego-release.
We want to implement user support comprehensively and correctly. Your script gets you past the current barrier but is not a long-term solution.
Diego currently supports pushing dockerfiles to create applications. There are issues around users (as I mentioned) but apart from that you can tell cloud controller you want a docker-based application today. The CF diego plugin (installation instructions here) has subcommands for pushing docker applications. You do need to enable diego-docker support in CC (it's turned off by default).
At this point we don't recommend running Docker applications in multi-tenant environments.
from diego-release.
thank you for your answer.
from diego-release.
Related Issues (20)
- [PR REVIEW]: allow sending network traffic usage for app metrics
- [EXECUTOR PR REVIEW]: send container network traffic metrics via logging client HOT 1
- [REP PR REVIEW]: enhance test to expect new network traffic usage fields
- Make BBS more resilient to API port being unavailable HOT 3
- RetireActualLRP is not emitting events HOT 3
- [EXECUTOR/REP PR REVIEW]: disable log rate limit metrics for tasks HOT 2
- Add support for docker images with attestation information HOT 3
- [BBS PR REVIEW]: BBS - Make BBS DesiredLRPHandler send the Stop/Update LRP requests to rep in parallel
- Rep unable to removed cached items after management API restart HOT 2
- Calculate the CPUWeight directly in the Executor HOT 10
- Make max-containers setting configurable HOT 7
- [REP/BBS PR REVIEW]: Add tags to task logs HOT 1
- [BBS] Use scheduling info instead of the whole desiredLRP HOT 5
- [BBS] Application CPU assignment HOT 3
- [Executor] Send error to app logs if starting a container fails HOT 14
- Use SHA algorithm for content digest in URLUploader HOT 2
- Add CPU Entitlement gauge metric & Deprecate CPU Entitlement counter metric HOT 10
- [BBS] Add request metrics for BBS endpoints HOT 5
- [Envoy] Envoy proxy healthchecks
- Convert components to a go module HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diego-release.