@@ -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
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
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`