docker-browser-box
docker-browser-box copied to clipboard
bug fixed: remove stopped container
Currently, browser-box just remove the containers using repo/browser-box:latest image.
While when install the browser-box, we should detect the version and update it to the wrapper scripts.
I have added a variable BROWSER_BOX_VERSION for the version of browser-box. When install browser-box, we can use BROWSER_BOX_VERSION for specifying special version of browser-box.
Another bug fixed:
- when use the root user, we will get a error: user already exist.
workaround for user already exist:
- before change permission and add user, we should detect the user id. If the user id exists, change
BROWSER_BOX_USERto the user name of the user id in browser-box and create a directory in/home(may be need change the user's home directory).