Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 490 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 490 Bytes

docker-userify

Running the Docker image as a Container

docker run -i --rm -p 2222:2222 -v /var/run/docker.sock:/var/run/docker.sock \
--env USERIFY_COMPANY=FooBar \
--env USERIFY_PROJECT=baz \
--env USERIFY_API_ID="xyz_user" \
--env USERIFY_API_KEY="ABCDEFGH" \
-t idralyuk/docker-userify /sbin/my_init -- /bin/bash

Connecting to the Container

ssh -p 2222 username@dockerhost

Executing docker commands in the Container

sudo docker ps