set_expose: Set which ports the docker image can expose, and what...

Description Usage Arguments Value Examples

View source: R/set_expose.R

Description

Set which ports the docker image can expose, and what protocols to use

Usage

1
set_expose(dockerfile, port, protocol = c("tcp"))

Arguments

dockerfile,

an object of class dockerfile

port

the port to expose

protocol

charater vector of protocols to use. Defalts to 'tcp', but can take on 'tcp' or 'udp'

Value

dockerfile

Examples

1
2
dockerfile() %>%
set_expose(8080)

uncoast-unconf/whaler documentation built on Oct. 31, 2020, 9:10 p.m.