Description Usage Arguments Value Examples
View source: R/sp_docker_functions.R
Creates 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.
1 | 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.
1 2 3 4 5 6 | ## Not run:
run_log <- sp_make_simple_pg("livestock")
sp_docker_images_tibble()
sp_docker_containers_tibble()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.