package Ġnet . cord a . network builder . containers . push . docker Ċ Ċ import Ġnet . cord a . network builder . containers . push . Container Push er Ċ import Ġnet . cord a . network builder . docker . Docker Utils Ċ import Ġjava . util . concurrent . Comp letableFuture Ċ Ċ class ĠDocker Container Push er Ġ: ĠContainer Push er Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġpush Container To Image Repository ( local Image Id : ĠString , Ġremote Image Name : ĠString , Ġnetwork Name : ĠString ): ĠCompletableFuture < String > Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġdocker Client Ġ= ĠDocker Utils . create Local Docker Client () ĊĠĠĠĠĠĠĠ Ġdocker Client . tag Image Cmd ( local Image Id , Ġremote Image Name , Ġnetwork Name ). with Force (). exec () ĊĠĠĠĠĠĠĠ Ġreturn ĠCompletableFuture . completed Future ("$ remote Image Name :$ network Name ") ĊĠĠĠ Ġ} Ċ } Ċ