Skip to content
Snippets Groups Projects
Commit 76245cd7 authored by Jaroslav Brazda's avatar Jaroslav Brazda
Browse files

Update documentation

parent d8ff82dc
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,6 @@ MAINTAINER Jaroslav Brazda <jaroslav.brazda@gmail.com> ...@@ -7,8 +7,6 @@ MAINTAINER Jaroslav Brazda <jaroslav.brazda@gmail.com>
ARG INSTALL_DIR=/informatica/agent ARG INSTALL_DIR=/informatica/agent
# Defines whre to download agent from (this might be different for your org) # Defines whre to download agent from (this might be different for your org)
ARG AGENT_URL=https://app2.informaticacloud.com/saas/download/linux64/installer/agent64_install.bin ARG AGENT_URL=https://app2.informaticacloud.com/saas/download/linux64/installer/agent64_install.bin
# we need to run docker image under a different user than root because the Secure agent process engine can't be run under root account
# install system tools # install system tools
RUN apt-get update && \ RUN apt-get update && \
...@@ -26,6 +24,7 @@ ENV LANG en_US.UTF-8 ...@@ -26,6 +24,7 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
# we need to run docker image under a different user than root because the Secure agent process engine can't be run under root account
RUN useradd --create-home -ms /bin/bash -U agent RUN useradd --create-home -ms /bin/bash -U agent
USER agent USER agent
......
...@@ -5,16 +5,38 @@ This package contains example docker file and supporting scripts to run Informat ...@@ -5,16 +5,38 @@ This package contains example docker file and supporting scripts to run Informat
## Use ## Use
1. Make sure you have docker installed go to (https://docs.docker.com/engine/installation/) 1. Make sure you have docker installed, go to (https://docs.docker.com/engine/installation/)
2. Clone this repository `git clone git@github.com:jbrazda/ic-sagent-docker.git` 2. Clone this repository
3. Update the `Dockerfile` if necessary (Location of the SA agent installer might be different for your Informatica CLoud org) You can override the default location by specifying `--build-arg <AGENT_URL>=<value>` in next step ```shell
4. Run `docker build -t ic-secure-agent:1.0 .` git clone git@github.com:jbrazda/ic-sagent-docker.git
5. run `run -d -h <hostname> --name <agent_name> <image_name:image_tag>` ```
+ `docker run -d -h agent1 --name ic-agent1 ic-secure-agent:1.0` 3. Update the `Dockerfile` if necessary (Location of the SA agent installer might be different for your Informatica CLoud org) You can override the default location by specifying `--build-arg <name>=<value>` in next step
4. Run
```shell
docker build -t ic-secure-agent:1.0 .
```
To override the download file location use following
```shell
docker build --build-arg AGENT_URL=https://app3.informaticacloud.com/saas/download/linux64/installer/agent64_install.bin -t ic-secure-agent:1.0 .
```
5. execute following command `run -d -h <hostname> --name <agent_name> <image_name:image_tag>`
```shell
docker run -d -h agent1 --name ic-agent1 ic-secure-agent:1.0
```
6. We need to configure the agent to connect it to your Informatica Cloud Org When you running agent for the first time, run following command in the host machine to connect to running agent 6. We need to configure the agent to connect it to your Informatica Cloud Org When you running agent for the first time, run following command in the host machine to connect to running agent
`docker exec -it ic-agent1 bash` ```shell
7. Then run following command to configure agent `./consoleAgentManager.sh configure '<username>' '<password>'` docker exec -it ic-agent1 bash
8. you can monitor agent running by calling `docker exec -it ic-agent1 less agentCore.log` ```
7. Then run following command to configure agent
```shell
./consoleAgentManager.sh configure '<username>' '<password>'
```
8. You can monitor agent running by calling
```shell
docker exec -it ic-agent1 less agentCore.log
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment