Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Latest commit

History

History
43 lines (24 loc) * 1.38 KB

File metadata and controls

43 lines (24 loc) * 1.38 KB

Back to readme page

Docker Commands

Useful commands for docker environment.

Launch docker environment containers

Run docker compose up -d with host bash in the project root directory.

Use --force-recreate to force the recreation of containers.

Official documentation

Destroy docker environment containers

Run docker compose down with host bash in the project root directory.

Official documentation

Restart a single container

Run docker container restart with host bash in the project root directory or use action button in the PhpStorm container view.

Official documentation

Open a container terminal

Run docker exec -it bash with host bash in the project root directory or open Docker Desktop and open a terminal in the PhpStorm container view.

Official documentation

Show containers statistics

Run docker stats

Official documentation

Tip

If you use PhpStorm, you can use service view to perform main actions. You can also find plugin for Visual Studio Code.



Back to readme page