2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00

[skip travis] Update README

This commit is contained in:
Revant Nandgaonkar 2020-05-05 13:18:36 +05:30
parent 0d9d1dcf42
commit 33672e09e4

View File

@ -21,15 +21,7 @@ For docker based development refer to this [README](development/README.md)
This repository requires Docker, docker-compose and Git to be setup on the instance to be used.
Always use non-root user. Add the user to `docker` group instead of using `sudo docker...` commands.
Docker devop basics.
- `docker ps`, check running containers.
- `docker logs <container_name>`, check logs of given container.
- `docker run -it image/tag <command> -v ./volume:/location/in/container --network existing_network` start a container with given image, run command, mount volume and use network.
- `docker exec -it -e "ENVIRONMENT_VARIABLE=VALUE" <container_name> command`, execute command in existing container and use given environment variables.
- Other important docker commands to manage volumes, containers. Refer Docker documentation.
Docker basics and best practices. Refer Docker documentation.
### Cloning the repository and preliminary steps