kraft cloud instance create [FLAGS] IMAGE [-- ARGS]
# Create a hello world instance$ kraft cloud instance create -M 64 unikraft.org/helloworld:latest# Create a new NGINX instance in Frankfurt and start it immediately. Map the external# port 443 to the internal port 80 which the application listens on.$ kraft cloud --metro fra0 instance create \--start \--port 443:80 \unikraft.io/official/nginx:latest# This command is the same as above, however using the more elaborate port expression.# This is because in fact we need need to accept TLS and HTTP connections and redirect# port 80 to port 443. The above example exists only as a shortcut for what is written# below:$ kraft cloud --metro fra0 instance create \--start \--port 443:80/http+tls \--port 80:443/http+redirect \unikraft.io/official/nginx:latest
-e, --env strings Environmental variables-h, --help help for create-M, --memory int Specify the amount of memory to allocate-n, --name string Specify the name of the package-o, --output string Set output format (default "table")-p, --port strings Specify the port mapping between external to internal-R, --replicas int Number of replicas of the instance (default 1)-S, --start Immediately start the instance after creation
--metro string Set the KraftCloud metro.
Feel free to ask questions, report issues, and meet new people.