Comments (3)
You are certainly right, that would be the best way to do it, but earlier at the time I started working on these images it couldn't be written this way and admittedly I haven't tested it in the newer versions of Docker. The same should apply to WORKDIR
and CMD
perhaps I will try this out again at a later point when I have time but in the meantime PR's are welcome if it works :)
from docker-atlassian-confluence.
Please be aware that you cannot really change the install path nor the home path inside the running container by overriding the environment variable when starting the container. Rather they should be seen as read-only variables useful for shortcuts and scripting purposes.
from docker-atlassian-confluence.
I've played around with this (on creation) and it seems that the variable expansion doesn't work as expected. The volumes don't get created.
Dockerfile with
VOLUME ["${JIRA_HOME}", "${JIRA_INSTALL}/logs"]
WORKDIR "${JIRA_HOME}""
does not work with setting the variable in docker run
-e JIRA_HOME='/h_jira' -e JIRA_INSTALL='/i_jira'
I guess this isn't as useful as I had thought but at the same time I find the behaviour surprising. Maybe I just missed something entirely but this isn't a big problem for me so feel free to close this issue.
from docker-atlassian-confluence.
Related Issues (20)
- Collaborative editing does not work sometimes HOT 8
- Missing Fonts
- container is not running HOT 1
- NFS stale file handle / alpine linux HOT 1
- Database connection problem after upgrading to 6.7.0 HOT 2
- Problems with macro 'view-file' and 'roadmap' after upgrade from 6.3.2 to 6.6.2 and 6.7.0
- UID of user daemon is 2 in openjdk:8-alpine docker images HOT 1
- No response behind nginx reverse proxy HOT 2
- How to cancel SSL by setting the environment variable HOT 1
- Java Open JDK Problem HOT 3
- Must be hung on both anonymous volumes to hang on to the host
- container exit after setup the db HOT 3
- Version on docker hub is old (6.14.1) HOT 5
- docker confluence 6.14.1 don't save for editor. HOT 2
- Proxy settings not working? HOT 2
- Add built-in healthcheck
- Passing a command line startup parameter
- Docker Compose file set Enviroments Varibales for HTTPS Connection
- Version bumper broken?
- CVE-2021-26084 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 docker-atlassian-confluence.