Don't know how to start from a customized container

Hi,
I am new to frappe / erpnext and I need help.

I tested pwd.yml, production installation in Docker. it worked fine, but I need more customization.

I followed the frappe_docker doc: frappe_docker/docs/container-setup/02-build-setup.md at main · frappe/frappe_docker · GitHub

  1. apps.json created, with erpnext and helpdesk
  2. built the custom:15 image
  3. custom.env was created, with HTTP_PUBLISH_PORT=8080, and my own sites definition
  4. compose.custom.yaml file created according to the document(using noproxy override)
  5. start the container by using compose.custom.yaml I just created
  6. install apps by these command:
    docker compose -p frappe exec backend bench new-site --mariadb-user-host-login-scope=‘172.%.%.%’
    docker compose -p frappe exec backend bench --site install-app erpnext

After all finished. I can not test it by http://loalhost:8080. And no clue from the documents.
What should I do for the next step?

Any pointers would be appreciated.

try GitHub - rtCamp/Frappe-Manager: A CLI tool based on Docker Compose to easily manage Frappe based projects. its easier

Hello @walkerfleck

Did you map the port from the docker network to your host?

Please share the docker compose and .env files (make sure to redact sensitive info). Without that we cannot help a lot.

And welcome to the forums! :waving_hand:

Thank you for your information!
I installed fm, restart a new shell,
and according to quick start:

fm create mysite

the process stuck at :

:construction: Creating global services global-db, global-nginx-proxy.
:no_entry: Not able to create services. Not able to create global services global-db, global-nginx-proxy.

after this, fm command respond the same messages all the time no matter how I use it.

please post the logs in the fm directory - normally at /frappe/logs/fm.log
most probably you have services running and those ports are already in use

Hi all,
I discovered a key reason of fails on docker container building.

the ubuntu Linux installed docker by snap. but the snap docker was weird.

I removed snap docker, and installed it from official version. all problem solved.

Thanks for all help!

1 Like