It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do you install Teams In Space in Windows 10 OS using Docker?

<<I realize that this question does not apply to all members of the Atlassian Community. But I think I would get a faster response here than emailing the contacts for technical support.>>

 

I've been trying to install TIS on my Windows 10 without success. I've installed Docker and followed the instructions in the Docker container of Teams in Space but I'm always getting failed results. Has anyone successfully installed it on their Windows machine using docker? Please tell me what steps I missed. 

SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.

.

.

/opt/atlassian/setup.sh: line 132: start_crowd.sh: command not found

/opt/atlassian/setup.sh: line 133: start-jira.sh: command not found
/opt/atlassian/setup.sh: line 134: start-confluence.sh: command not found
/opt/atlassian/setup.sh: line 135: start-bitbucket.sh: command not found
/opt/atlassian/setup.sh: line 136: start-bamboo.sh: command not found
/opt/atlassian/setup.sh: line 137: start.sh: command not found

2 answers

2 accepted

1 vote
Answer accepted
djenkins Atlassian Team May 20, 2020

Hi team. We have a new deployment of Teams In Space for Docker that's rolling out on the Partner Portal website for Solution Partners. Please check for the latest updates to this information in that space. As a preview, I'll say we have a new deployment method for this Docker container using an amazon linux 2 base image which is much faster. No need for building dependencies separately. 

edwin Community Leader May 21, 2020

Awesome. Thanks @djenkins!

Like djenkins likes this
0 votes
Answer accepted
edwin Community Leader May 02, 2019

Hi @fiona_hd ,

Please confirm that you're able to run linux containers.

Linux Containers on Windows 10

I have confirmed it. Now I'm getting this:

 

E: Unable to locate package oracle-java8-installer
The command '/bin/sh -c echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections && echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" > /etc/apt/sources.list.d/webupd8team-java-trusty.list && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 && apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes --no-install-recommends curl oracle-java8-installer python-software-properties perl php5 php5-cli software-properties-common unzip zip && apt-get clean all && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

edwin Community Leader May 07, 2019

@fiona_hd ,

When do you get the above error?

I actually have the same issue when I try to run the docker build for java8.

@edwin 

I get the error when I try to run the docker build for java8 like what @jrtodd said. 

edwin Community Leader May 08, 2019

I see. I'm getting the same error.

A workaround is to edit the Dockerfile in the base folder (docker-teams-in-space) to

FROM mcpayment/ubuntu1404-java8

and then moving to the next command

docker build -t ubuntu-tis-full .

 I would then recommend watching the repo for a fix.

I had to edit a bit more to get it running on windows.

First: set git to checkout LF-Line Endings, so that entrypoint.sh works

git --global config core.autocrlf false
git --global config core.eol lf

 (I set it globally, you can also do this for a single repository)

After that i edited dockerfile to base on mcpayment/ubuntu1404-java8 and added the extra software from docker-java8 like curl, php etc. I am not sure if i need all, but for a quick fix this was enough :)

So finally my Dockerfile looks like this:

#FROM docker-java8
FROM mcpayment/ubuntu1404-java8
MAINTAINER David Jenkins "djenkins@atlassian.com"

# Install software
RUN add-apt-repository ppa:git-core/ppa -y && \
apt-get update -y && \
apt-get install -y \
git \
vim \
php5 \
php5-cli \
curl \
python-software-properties \
perl \
software-properties-common \
unzip \
zip && \
apt-get clean all && \
rm -rf /var/lib/apt/lists/*

RUN mkdir /root/.ssh/
COPY id_rsa /root/.ssh/id_rsa
RUN chmod 400 /root/.ssh/id_rsa && \
touch /root/.ssh/known_hosts && \
ssh-keyscan "bitbucket.org" >> /root/.ssh/known_hosts && \
git clone git@bitbucket.org:atlassian/teams-in-space-demo.git /opt/atlassian && \
echo "source /opt/atlassian/setup.sh" >> /root/.profile && \
echo "source /opt/atlassian/setup.sh" >> /root/.bashrc
COPY ./boot/ /root/boot
RUN chmod +x /root/boot/entrypoint.sh && \
chmod +x /root/boot/startup.sh && \
chmod +x /root/boot/*

ENTRYPOINT ["/root/boot/entrypoint.sh"]

 (I am somehow unable to copy whitespaces, but you can see the idea of what i have done)

 

My container started up, downloaded the software and is currently reindexing Confluence :)

Like # people like this

@andreasbrieke Many Thanks! I tried your solution and now I'm able to access Jira in Teams in Space! 

Andreas Brieke i am getting the error using your docker file which is attached Error.PNG

@Raghav_Gupta ,

Please confirm that there's a id_rsa directory in the same location as the Dockerfile.

Hi edwin now the issue of id_rsa is solved i have copied the teaminspace-demo file on local system and from there i am using COPY operator in Dockerfile and teaminspacedemo file is in same directory of dockerteaminspace folder instead of git cloning through SSH so now i am facing different issue and i am sharing my docker file and error in attachment. Please help in the same.

 

 

This is my docker file below:

 

#FROM docker-java8
FROM mcpayment/ubuntu1404-java8
MAINTAINER David Jenkins "djenkins@atlassian.com"

# Install software
RUN add-apt-repository ppa:git-core/ppa -y && \
apt-get update -y && \
apt-get install -y \
git \
vim \
php5 \
php5-cli \
curl \
python-software-properties \
perl \
make \
software-properties-common \
unzip \
zip && \
apt-get clean all && \
rm -rf /var/lib/apt/lists/*


COPY teams-in-space-demo /opt/atlassian
RUN echo "source /opt/atlassian/teams-in-space-demo/setup.sh" >> /root/.profile && \
echo "source /opt/atlassian/setup.sh" >> /root/.bashrc
COPY C:/Users/raghavgupta/docker/docker-teams-in-space/boot/ /root/boot
RUN chmod +x /root/boot/entrypoint.sh && \
chmod +x /root/boot/startup.sh && \
chmod +x /root/boot/*

ENTRYPOINT ["/bin/bash","-c","/root/boot/entrypoint.sh"]

 

 

Error_latest.PNG

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

283 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you