- Save gen_container.py to local disk.
- Install docker
- Execute gen_container.py with correct arguments. An example execution:
python gen_container.py -f process.py -r requirements.txt -n mapfn-foo -u columbus -p REGISTRY_PASSWD
By default, the repository path is registry.columbustech.io/columbustech/CONTAINER_NAME, but this can be changed with the b flag.
- Give the image url to the sm-mapper app on Columbus. Eg: registry.columbustech.io/columbustech/mapfn-foo:latest in the above example.