Persist Data docker run --publish 10088:8080 --volume /my-docker-data-dir/promet:/srv/promet promet-client
Dockerfile to run Promet-ERP promet-ERP GUI Client from an container image.
If you find this image useful here's how you can help:
Docker is a relatively new project and is active being developed and tested by a thriving community of developers and testers and every release of docker features many enhancements and bugfixes.
Given the nature of the development and release cycle it is very important that you have the latest version of docker installed because any issue that you encounter might have already been fixed with a newer docker release.
Install the most recent version of the Docker Engine for your platform using the official Docker releases, which can also be installed using:
wget -qO- https://get.docker.com/ | sh
Fedora and RHEL/CentOS users should try disabling selinux with setenforce 0 and check if resolves the issue. If it does than there is not much that I can help you with. You can either stick with selinux disabled (not recommended by redhat) or switch to using ubuntu.
You may also set DEBUG=true to enable debugging of the entrypoint script, which could help you pin point any configuration issues.
If using the latest docker version and/or disabling selinux does not fix the issue then please file a issue request on the issues page.
In your issue report please make sure you provide the following information:
docker version commanddocker info commanddocker run command you used to run the image (mask out the sensitive bits).Your docker host needs to have 300MB or more of available RAM to run Promet-ERP.
Automated builds of the image are available on Dockerhub and is the recommended method of installation.
docker pull cutec/promet-client:latest
Alternatively you can build the image locally.
docker build -t cutec/promet-client github.com/cutec-chris/promet-erp
Step 1. Launch the promet container
docker run --publish 10088:8080 cutec/promet-client
Point your browser to http://localhost:10088 and go through the Mandant Wizard to create and Database and prefill it with an Profile.
You should now have the Promet-ERP application up and ready for testing. If you want to use this image in production then please read on.
promet-ERP is an (Article,Contact,Project,Document) Management Software and as such you don't want to lose your Data when the docker container is stopped/deleted. To avoid losing any data, you should mount a volume at,
/srv/prometSELinux users are also required to change the security context of the mount point so that it plays nicely with selinux.
mkdir -p /srv/docker/promet
sudo chcon -Rt svirt_sandbox_file_t /srv/docker/promet
Volumes can be mounted in docker by specifying the -v option in the docker run command.
docker run --name promet-erp -d \
--publish 10088:8080 \
--volume /srv/docker/promet:/srv/promet \
cutec/promet-client:latest
docker pull cutec/promet-client:latest
docker stop promet-erp
docker rm promet-erp
docker run --name promet-erp -d [OPTIONS] cutec/promet-client:latest
For debugging and maintenance purposes you may want access the containers shell. If you are using docker version 1.3.0 or higher you can access a running containers shell using docker exec command.
docker exec -it promet-erp bash
Content type
Image
Digest
Size
555.1 MB
Last updated
about 7 years ago
docker pull cutec/promet-client