ec2_post_init
Populate STScI EC2 instances with ease
|
Docker functions. More...
Go to the source code of this file.
Functions | |
docker_setup (user, bind_port) | |
Install docker on the server. More... | |
docker_user_add (user) | |
Add a user account to the docker group. More... | |
docker_pull_many (image...) | |
Wrapper for docker pull More... | |
Docker functions.
Definition in file docker.inc.sh.
docker_pull_many | ( | image... | ) |
Wrapper for docker pull
Pull multiple docker images with a single command
image... | image to pull |
Definition at line 110 of file docker.inc.sh.
docker_setup | ( | user | , |
bind_port | |||
) |
Install docker on the server.
user | account to add to docker group |
bind_port | binds the docker daemon to a TCP port. When this option is enabled the user account argument is ignored in favor of setting DOCKER_HOST=tcp://127.0.0.1:${bind_port} at login |
Definition at line 17 of file docker.inc.sh.
docker_user_add | ( | user | ) |
Add a user account to the docker
group.
user | an account to modify (must exist) |
Definition at line 92 of file docker.inc.sh.