File size: 139 Bytes
0a05367
 
 
 
 
 
 
1
2
3
4
5
6
7
8
#!/bin/bash

# Get container IP address
CONTAINER_IP=$(hostname -i)

# Set it as an environment variable
export CONTAINER_IP=$CONTAINER_IP