sp_make_simple_pg.RdCreates a container and runs the PostgreSQL 10 image
(docker.io/postgres:10) in it. The image will be downloaded if it doesn't
exist locally.
sp_make_simple_pg(container_name, postgres_password = "postgres")
| container_name | character: a valid container name for the container |
|---|---|
| postgres_password | character: superuser password. Default is "postgres". |
Result of Docker command if it succeeded. Stops with an error message if it failed.
if (FALSE) { run_log <- sp_make_simple_pg("livestock") sp_docker_images_tibble() sp_docker_containers_tibble() }