Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker run error without attached /srv/var #659

Merged
merged 1 commit into from
Apr 12, 2020
Merged

Conversation

paskal
Copy link
Collaborator

@paskal paskal commented Apr 11, 2020

Before:

➜  docker run umputun/remark42:dev
init container
set timezone America/Chicago (Sat Apr 11 11:19:28 CDT 2020)
custom APP_UID not defined, using default uid=1001
execute /srv/init.sh
prepare environment
/srv/init.sh failed

After:

➜ docker run umputun/remark42:dev
init container
set timezone America/Chicago (Sat Apr 11 15:30:59 CDT 2020)
custom APP_UID not defined, using default uid=1001
execute /srv/init.sh
prepare environment
ERROR: /srv/var doesn't exist, which means that state of the application
ERROR: will be lost on container stop or restart.
ERROR: Please mount local directory to /srv/var in order for it to work.
/srv/init.sh failed

@paskal paskal requested a review from umputun April 11, 2020 16:41
docker-init.sh Outdated Show resolved Hide resolved
@umputun umputun merged commit 1e67850 into master Apr 12, 2020
@paskal paskal deleted the fix_docker_run branch April 12, 2020 07:09
@umputun umputun added this to the v1.6 milestone Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants