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

Rerun the container with exposed datas #3

Open
jp-gouin opened this issue Jun 11, 2021 · 0 comments
Open

Rerun the container with exposed datas #3

jp-gouin opened this issue Jun 11, 2021 · 0 comments

Comments

@jp-gouin
Copy link

Hi,

I would like to know if it's possible to rerun the container and start with a previous configuration.

I've exposed /run and /tmp and used --env RESTART=yes , but when i make a new docker run it erases my previous configuration :
existing user disapear etc

Is it possible ? and if so i'm i missing something ?

FYI , i ran the following command :

FQDN=node.ucs.example; \
docker run \
--detach \
--cap-add SYS_ADMIN \
--cap-add MKNOD \
--volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
--volume /Users/jpgouin/Work/G3S/IAMX/run:/run \
--volume /Users/jpgouin/Work/G3S/IAMX/tmp:/tmp \
--restart unless-stopped \
--hostname ${FQDN} \
--env RESTART=yes \
--name ${FQDN} \
-p 8080:80 \
-p 8443:443 \
univention/univention-corporate-server

Thanks

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

No branches or pull requests

1 participant