Comments (5)
@dkoper if I run
cf push APP -o IMAGE
cf set-env APP VAR value
can't it be that the Docker container is already started without the variable VAR
?
Is it necessary to run cf restage APP
after cf set-env
, like this?
cf push APP -o IMAGE
cf set-env APP VAR value
cf restage APP
from docs-cf-admin.
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/151213624
The labels on this github issue will be updated when the story is started.
from docs-cf-admin.
Hi @nabiltntn
I assume you are referring to pushing a Docker app and want to set environment variables for the app?
You can either push the app with an app manifest file that declares the environment variables, or push your Docker app first (with cf push APP -o IMAGE
) followed by cf set-env
for each environment variable you want to set.
from docs-cf-admin.
Hi, any reason this is closed? is this supported?
I am looking for ways to push and run docker images with parameters like: -v "xxx:ccc" to mount certain volumes.
Is this doable?
from docs-cf-admin.
@cheahkhing typically not. Your CF deployment would need to support volume services. See here for details:
https://docs.cloudfoundry.org/devguide/services/using-vol-services.html
from docs-cf-admin.
Related Issues (20)
- _diego-upgrade-limits.html.md.erb incorrect? HOT 1
- cf create-user doesn't reference "--origin" HOT 2
- notifications.html.md.erb needs an example of sending a notification HOT 2
- Update BOSH deployment manifest instructions for adding an isolation segment for cf-deployment HOT 1
- diego cell upgrade limit on starting containers HOT 4
- Mutual Authentication with Clients section extremely unclear on the setting to use when terminating at the GoRouter HOT 4
- Curl uaac notification url HOT 2
- Outside PCF, I have a CAS (sso) server of HTTPS protocol. The client is located on PCF. How should I arrange certificates on PCF? HOT 2
- Unclear statement in securing-traffic.html.md.erb HOT 2
- Is External Domain configurable? HOT 3
- Typo HOT 2
- securing-traffic should include internal TLS and Envoy HOT 8
- How to pass parameters while pushing Docker images HOT 4
- broken links HOT 2
- Allowed role to create buildpack HOT 2
- Typo HOT 2
- Ambiguous! Isn't the container port always 8080 on Diego HOT 2
- Disk limit on per container HOT 2
- ipv6 docs are out of date HOT 1
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 docs-cf-admin.