-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure web front-end via command line interface #50
Comments
With the capability to set up
|
With the latest CK changes (in particular, 8fcd77fc, a container can be started with e.g.:
Once the CK changes are more thoroughly tested and stabilised, this issue can be closed. |
An experimental CK Docker image is now available at a public repository:
The CK web service can be run locally and accessed at
The CK web service can be run on a remote server (at an address
NB: The |
I'm working on building Docker images containing CK and its dependencies.
A snapshot of my
Dockerfile
based on Ubuntu 16.04 is as follows:To build an image named
ctuning/ck-ubuntu-16.04
, run:where
${DOCKERFILE_DIR}
is the directory containing the aboveDockerfile
(e.g.${CK_DOCKER_DIR}/docker/ubuntu-16.04
).The CK web service can be accessed at
http://localhost:3344/
by running the image in a container as follows:or at
http://localhost:3355/
with a more elaborate command:That is, the CK web service is running inside the container with
--host=
hostname -i`` and--port=${CK_PORT}
, and can be accessed at `http://localhost:${WFE_PORT}`. So far so good.Now, suppose I want to access the CK web service running inside a Docker container on
http://${WFE_HOST}:${WFE_PORT}
. I have port forwarding enabled from${WFE_PORT}
to the${WFE_HOST}
machine where the container is running. Here's what I have to do currently:I have to explicitly type in the values of
${WFE_HOST}
and${WFE_PORT}
intohttp://<WFE_HOST>:<WFE_PORT>/web?
, which is cumbersome, error-prone and not easily automate-able.I propose to enable launching the CK web service as follows:
Then, the
Dockerfile
file would look something like:The text was updated successfully, but these errors were encountered: