mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 20:42:57 +00:00
Add example for deploying notebook container using Docker Compose.
(c) Copyright IBM Corp. 2016
This commit is contained in:
11
examples/docker-compose/bin/vbox.sh
Executable file
11
examples/docker-compose/bin/vbox.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
# Set reasonable default VM settings
|
||||
: ${VIRTUALBOX_CPUS:=4}
|
||||
export VIRTUALBOX_CPUS
|
||||
: ${VIRTUALBOX_MEMORY_SIZE:=4096}
|
||||
export VIRTUALBOX_MEMORY_SIZE
|
||||
|
||||
docker-machine create --driver virtualbox "$@"
|
Reference in New Issue
Block a user