From cdb12c74f659b7e636956eba21ac4c9c5f044641 Mon Sep 17 00:00:00 2001 From: Philip Hadviger <613305+datfinesoul@users.noreply.github.com> Date: Tue, 2 May 2023 12:40:34 +0900 Subject: [PATCH] update the docker alias documentation --- .../1-installation/1_install_iambic_via_docker.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/web/docs/3-reference/1-installation/1_install_iambic_via_docker.mdx b/docs/web/docs/3-reference/1-installation/1_install_iambic_via_docker.mdx index e3ea82f4e..bcece7050 100644 --- a/docs/web/docs/3-reference/1-installation/1_install_iambic_via_docker.mdx +++ b/docs/web/docs/3-reference/1-installation/1_install_iambic_via_docker.mdx @@ -47,11 +47,11 @@ Depending on where your cloud credentials are stored, you may have to mount the We recommend that you add the following to your ~/.bashrc or ~/.bash_profile: ```bash -echo 'alias iambic="docker run -it -u $(id -u):$(id -g) -v ${HOME}/.aws:/app/.aws -e AWS_CONFIG_FILE=/app/.aws/config -e AWS_SHARED_CREDENTIALS_FILE=/app/.aws/credentials -e "AWS_PROFILE=${AWS_PROFILE}" -v :/templates:Z public.ecr.aws/iambic/iambic:latest "' >> ~/.bashrc +echo 'alias iambic="docker run -it -u $(id -u):$(id -g) -v ${HOME}/.aws:/app/.aws:ro -e AWS_CONFIG_FILE=/app/.aws/config -e AWS_SHARED_CREDENTIALS_FILE=/app/.aws/credentials -e AWS_PROFILE -e HOME=/app -v :/templates:Z public.ecr.aws/iambic/iambic:latest"' >> ~/.bashrc ``` ```zsh -echo 'alias iambic="docker run -it -u $(id -u):$(id -g) -v ${HOME}/.aws:/app/.aws -e AWS_CONFIG_FILE=/app/.aws/config -e AWS_SHARED_CREDENTIALS_FILE=/app/.aws/credentials -e "AWS_PROFILE=${AWS_PROFILE}" -v :/templates:Z public.ecr.aws/iambic/iambic:latest "' >> ~/.zshrc +echo 'alias iambic="docker run -it -u $(id -u):$(id -g) -v ${HOME}/.aws:/app/.aws:ro -e AWS_CONFIG_FILE=/app/.aws/config -e AWS_SHARED_CREDENTIALS_FILE=/app/.aws/credentials -e AWS_PROFILE -e HOME=/app -v :/templates:Z public.ecr.aws/iambic/iambic:latest"' >> ~/.zshrc ``` That way you can just execute iambic seamlessly as an application within your system: