Laradock

Practical notes on using Laradock in everyday PHP development: workspaces, PHP-FPM, Docker Compose, multiple PHP versions, service configuration, and streamlined Artisan, Composer, and CLI workflows.

composer-docker-gitlab-ssh-agent-forwarding.png
Laradock

Composer Cannot Access GitLab from Docker: Fix with SSH Agent

SSH to GitLab works on the host, but Composer inside Docker asks for a username and password or fails with Permission denied (publickey). I show how I diagnosed the issue in Laradock and forwarded the host SSH Agent into the container.

73