mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 21:57:55 +08:00
10 lines
437 B
Text
10 lines
437 B
Text
|
# This lets you log in via `eb ssh` and access the docker daemon.
|
||
|
# If we don't add the ec2-user to the docker group, then calls to docker
|
||
|
# (like `docker ps`) will fail with `Cannot connect to the Docker daemon`
|
||
|
#
|
||
|
# See: https://blog.cloudinvaders.com/connect-to-docker-daemon-on-aws-beanstalk-ec2-instance/
|
||
|
commands:
|
||
|
0_add_docker_group_to_ec2_user:
|
||
|
command: gpasswd -a ec2-user docker
|
||
|
test: groups ec2-user | grep -qv docker
|